Home
last modified time | relevance | path

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

/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/x64/
Dstub-cache-x64.cc27 ? kPointerSizeLog2 == StubCache::kCacheIndexShift + 1 in ProbeTable()
28 : kPointerSizeLog2 == StubCache::kCacheIndexShift); in ProbeTable()
139 __ andp(scratch, Immediate((kPrimaryTableSize - 1) << kCacheIndexShift)); in GenerateProbe()
148 __ andp(scratch, Immediate((kPrimaryTableSize - 1) << kCacheIndexShift)); in GenerateProbe()
151 __ andp(scratch, Immediate((kSecondaryTableSize - 1) << kCacheIndexShift)); in GenerateProbe()
/external/v8/src/ic/ppc/
Dstub-cache-ppc.cc52 DCHECK(kPointerSizeLog2 > StubCache::kCacheIndexShift); in ProbeTable()
54 Operand(kPointerSizeLog2 - StubCache::kCacheIndexShift)); in ProbeTable()
56 DCHECK(kPointerSizeLog2 == StubCache::kCacheIndexShift); in ProbeTable()
166 Operand((kPrimaryTableSize - 1) << kCacheIndexShift)); in GenerateProbe()
176 Operand((kSecondaryTableSize - 1) << kCacheIndexShift)); in GenerateProbe()
/external/v8/src/ic/mips64/
Dstub-cache-mips64.cc148 __ dsrl(scratch, scratch, kCacheIndexShift); in GenerateProbe()
149 __ Xor(scratch, scratch, Operand((flags >> kCacheIndexShift) & mask)); in GenerateProbe()
157 __ dsrl(at, name, kCacheIndexShift); in GenerateProbe()
160 __ Daddu(scratch, scratch, Operand((flags >> kCacheIndexShift) & mask2)); in GenerateProbe()
/external/v8/src/ic/mips/
Dstub-cache-mips.cc145 __ srl(scratch, scratch, kCacheIndexShift); in GenerateProbe()
146 __ Xor(scratch, scratch, Operand((flags >> kCacheIndexShift) & mask)); in GenerateProbe()
154 __ srl(at, name, kCacheIndexShift); in GenerateProbe()
157 __ Addu(scratch, scratch, Operand((flags >> kCacheIndexShift) & mask2)); in GenerateProbe()
/external/v8/src/ic/arm/
Dstub-cache-arm.cc149 __ mov(scratch, Operand(scratch, LSR, kCacheIndexShift)); in GenerateProbe()
152 __ eor(scratch, scratch, Operand((flags >> kCacheIndexShift) & mask)); in GenerateProbe()
161 __ sub(scratch, scratch, Operand(name, LSR, kCacheIndexShift)); in GenerateProbe()
163 __ add(scratch, scratch, Operand((flags >> kCacheIndexShift) & mask2)); in GenerateProbe()
/external/v8/src/ic/x87/
Dstub-cache-x87.cc186 __ and_(offset, (kPrimaryTableSize - 1) << kCacheIndexShift); in GenerateProbe()
189 DCHECK(kCacheIndexShift == kPointerSizeLog2); in GenerateProbe()
199 __ and_(offset, (kPrimaryTableSize - 1) << kCacheIndexShift); in GenerateProbe()
202 __ and_(offset, (kSecondaryTableSize - 1) << kCacheIndexShift); in GenerateProbe()
/external/v8/src/ic/ia32/
Dstub-cache-ia32.cc186 __ and_(offset, (kPrimaryTableSize - 1) << kCacheIndexShift); in GenerateProbe()
189 DCHECK(kCacheIndexShift == kPointerSizeLog2); in GenerateProbe()
199 __ and_(offset, (kPrimaryTableSize - 1) << kCacheIndexShift); in GenerateProbe()
202 __ and_(offset, (kSecondaryTableSize - 1) << kCacheIndexShift); in GenerateProbe()
/external/v8/src/ic/arm64/
Dstub-cache-arm64.cc139 __ Ubfx(scratch, scratch, kCacheIndexShift, in GenerateProbe()
147 __ Sub(scratch, scratch, Operand(name, LSR, kCacheIndexShift)); in GenerateProbe()
148 __ Add(scratch, scratch, flags >> kCacheIndexShift); in GenerateProbe()