Home
last modified time | relevance | path

Searched refs:kCacheIndexShift (Results 1 – 8 of 8) sorted by relevance

/external/v8/src/ic/x64/
Dstub-cache-x64.cc27 ? kPointerSizeLog2 == StubCache::kCacheIndexShift + 1 in ProbeTable()
28 : kPointerSizeLog2 == StubCache::kCacheIndexShift); in ProbeTable()
123 __ andp(scratch, Immediate((kPrimaryTableSize - 1) << kCacheIndexShift)); in GenerateProbe()
133 __ andp(scratch, Immediate((kPrimaryTableSize - 1) << kCacheIndexShift)); in GenerateProbe()
136 __ andp(scratch, Immediate((kSecondaryTableSize - 1) << kCacheIndexShift)); in GenerateProbe()
/external/v8/src/ic/
Dstub-cache.h93 static const int kCacheIndexShift = Name::kHashShift; variable
109 STATIC_ASSERT(kCacheIndexShift == Name::kHashShift); in PrimaryOffset()
124 return key & ((kPrimaryTableSize - 1) << kCacheIndexShift); in PrimaryOffset()
139 return key & ((kSecondaryTableSize - 1) << kCacheIndexShift); in SecondaryOffset()
/external/v8/src/ic/mips64/
Dstub-cache-mips64.cc139 __ dsrl(scratch, scratch, kCacheIndexShift); in GenerateProbe()
140 __ Xor(scratch, scratch, Operand((flags >> kCacheIndexShift) & mask)); in GenerateProbe()
148 __ dsrl(at, name, kCacheIndexShift); in GenerateProbe()
151 __ Daddu(scratch, scratch, Operand((flags >> kCacheIndexShift) & mask2)); in GenerateProbe()
/external/v8/src/ic/mips/
Dstub-cache-mips.cc138 __ srl(scratch, scratch, kCacheIndexShift); in GenerateProbe()
139 __ Xor(scratch, scratch, Operand((flags >> kCacheIndexShift) & mask)); in GenerateProbe()
147 __ srl(at, name, kCacheIndexShift); in GenerateProbe()
150 __ Addu(scratch, scratch, Operand((flags >> kCacheIndexShift) & mask2)); in GenerateProbe()
/external/v8/src/ic/arm/
Dstub-cache-arm.cc142 __ mov(scratch, Operand(scratch, LSR, kCacheIndexShift)); in GenerateProbe()
145 __ eor(scratch, scratch, Operand((flags >> kCacheIndexShift) & mask)); in GenerateProbe()
154 __ sub(scratch, scratch, Operand(name, LSR, kCacheIndexShift)); in GenerateProbe()
156 __ add(scratch, scratch, Operand((flags >> kCacheIndexShift) & mask2)); in GenerateProbe()
/external/v8/src/ic/x87/
Dstub-cache-x87.cc156 __ and_(offset, (kPrimaryTableSize - 1) << kCacheIndexShift); in GenerateProbe()
159 DCHECK(kCacheIndexShift == kPointerSizeLog2); in GenerateProbe()
169 __ and_(offset, (kPrimaryTableSize - 1) << kCacheIndexShift); in GenerateProbe()
172 __ and_(offset, (kSecondaryTableSize - 1) << kCacheIndexShift); in GenerateProbe()
/external/v8/src/ic/ia32/
Dstub-cache-ia32.cc156 __ and_(offset, (kPrimaryTableSize - 1) << kCacheIndexShift); in GenerateProbe()
159 DCHECK(kCacheIndexShift == kPointerSizeLog2); in GenerateProbe()
169 __ and_(offset, (kPrimaryTableSize - 1) << kCacheIndexShift); in GenerateProbe()
172 __ and_(offset, (kSecondaryTableSize - 1) << kCacheIndexShift); in GenerateProbe()
/external/v8/src/ic/arm64/
Dstub-cache-arm64.cc124 __ Ubfx(scratch, scratch, kCacheIndexShift, in GenerateProbe()
132 __ Sub(scratch, scratch, Operand(name, LSR, kCacheIndexShift)); in GenerateProbe()
133 __ Add(scratch, scratch, flags >> kCacheIndexShift); in GenerateProbe()