Searched refs:kSmiShift (Results 1 – 10 of 10) sorted by relevance
/external/v8/src/ppc/ |
D | macro-assembler-ppc.h | 497 if (scale > kSmiShift) { 498 ShiftLeftImm(dst, src, Operand(scale - kSmiShift), rc); 499 } else if (scale < kSmiShift) { 500 ShiftRightArithImm(dst, src, kSmiShift - scale, rc); 654 static const int kSmiShift = kSmiTagSize + kSmiShiftSize; 936 ShiftLeftImm(dst, src, Operand(kSmiShift), rc); 941 STATIC_ASSERT(kSmiTag == 0 && kSmiShift > kPointerSizeLog2); in SmiToPtrArrayOffset() 942 ShiftRightArithImm(dst, src, kSmiShift - kPointerSizeLog2); in SmiToPtrArrayOffset() 944 STATIC_ASSERT(kSmiTag == 0 && kSmiShift < kPointerSizeLog2); in SmiToPtrArrayOffset() 945 ShiftLeftImm(dst, src, Operand(kPointerSizeLog2 - kSmiShift)); in SmiToPtrArrayOffset() [all …]
|
/external/v8/src/s390/ |
D | macro-assembler-s390.h | 995 if (scale > kSmiShift) { 996 ShiftLeftP(dst, src, Operand(scale - kSmiShift)); 997 } else if (scale < kSmiShift) { 998 ShiftRightArithP(dst, src, Operand(kSmiShift - scale)); 1017 static const int kSmiShift = kSmiTagSize + kSmiShiftSize; 1196 ShiftLeftP(dst, src, Operand(kSmiShift)); in SmiTag() 1201 STATIC_ASSERT(kSmiTag == 0 && kSmiShift > kPointerSizeLog2); in SmiToPtrArrayOffset() 1202 ShiftRightArithP(dst, src, Operand(kSmiShift - kPointerSizeLog2)); in SmiToPtrArrayOffset() 1204 STATIC_ASSERT(kSmiTag == 0 && kSmiShift < kPointerSizeLog2); in SmiToPtrArrayOffset() 1205 ShiftLeftP(dst, src, Operand(kPointerSizeLog2 - kSmiShift)); in SmiToPtrArrayOffset() [all …]
|
/external/v8/src/x64/ |
D | macro-assembler-x64.cc | 1037 shlp(dst, Immediate(kSmiShift)); in SmiTag() 1046 sarp(dst, Immediate(kSmiShift)); in SmiUntag() 1051 movl(dst, Operand(src, kSmiShift / kBitsPerByte)); in SmiUntag() 1057 sarp(dst, Immediate(kSmiShift)); in SmiUntag() 1099 cmpl(Operand(dst, kSmiShift / kBitsPerByte), Immediate(src->value())); in SmiCompare() 1148 addl(Operand(dst, kSmiShift / kBitsPerByte), in SmiAddConstant() 1176 if (shift < kSmiShift) { in SmiToIndex() 1177 sarp(dst, Immediate(kSmiShift - shift)); in SmiToIndex() 1179 shlp(dst, Immediate(shift - kSmiShift)); in SmiToIndex() 1190 if (shift < kSmiShift) { in SmiToIndex() [all …]
|
D | macro-assembler-x64.h | 506 static const int kSmiShift = kSmiTagSize + kSmiShiftSize;
|
/external/v8/src/arm64/ |
D | assembler-arm64-inl.h | 391 return Operand(smi, ASR, kSmiShift); 399 if (scale > kSmiShift) { 400 return Operand(smi, LSL, scale - kSmiShift); 401 } else if (scale < kSmiShift) { 402 return Operand(smi, ASR, kSmiShift - scale);
|
D | macro-assembler-arm64-inl.h | 1034 Lsl(dst, src, kSmiShift); in SmiTag() 1045 Asr(dst, src, kSmiShift); in SmiUntag() 1054 DCHECK_EQ(kSmiShift, 32); in SmiUntag() 1056 MemOperand(src.base(), src.offset() + (kSmiShift / kBitsPerByte), in SmiUntag() 1214 const int shift = CountTrailingZeros(unit_size, kXRegSizeInBits) - kSmiShift; in ClaimBySMI() 1283 const int shift = CountTrailingZeros(unit_size, kXRegSizeInBits) - kSmiShift; in DropBySMI()
|
D | assembler-arm64.h | 695 constexpr int kSmiShift = kSmiTagSize + kSmiShiftSize; variable 696 constexpr uint64_t kSmiShiftMask = (1UL << kSmiShift) - 1;
|
D | simulator-arm64.cc | 3250 int32_t untagged = (value >> kSmiShift) & 0xFFFFFFFF; in Debug()
|
/external/v8/src/mips64/ |
D | macro-assembler-mips64.h | 482 dsra32(dst, src, kSmiShift - 32); in SmiUntag() 485 sra(dst, src, kSmiShift); in SmiUntag() 1169 dsra(dst, src, kSmiShift - scale); in SmiScale()
|
D | assembler-mips64.h | 392 constexpr int kSmiShift = kSmiTagSize + kSmiShiftSize; variable 393 constexpr uint64_t kSmiShiftMask = (1UL << kSmiShift) - 1;
|