Home
last modified time | relevance | path

Searched refs:kSmiShift (Results 1 – 10 of 10) sorted by relevance

/external/v8/src/ppc/
Dmacro-assembler-ppc.h497 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/
Dmacro-assembler-s390.h995 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/
Dmacro-assembler-x64.cc1037 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 …]
Dmacro-assembler-x64.h506 static const int kSmiShift = kSmiTagSize + kSmiShiftSize;
/external/v8/src/arm64/
Dassembler-arm64-inl.h391 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);
Dmacro-assembler-arm64-inl.h1034 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()
Dassembler-arm64.h695 constexpr int kSmiShift = kSmiTagSize + kSmiShiftSize; variable
696 constexpr uint64_t kSmiShiftMask = (1UL << kSmiShift) - 1;
Dsimulator-arm64.cc3250 int32_t untagged = (value >> kSmiShift) & 0xFFFFFFFF; in Debug()
/external/v8/src/mips64/
Dmacro-assembler-mips64.h482 dsra32(dst, src, kSmiShift - 32); in SmiUntag()
485 sra(dst, src, kSmiShift); in SmiUntag()
1169 dsra(dst, src, kSmiShift - scale); in SmiScale()
Dassembler-mips64.h392 constexpr int kSmiShift = kSmiTagSize + kSmiShiftSize; variable
393 constexpr uint64_t kSmiShiftMask = (1UL << kSmiShift) - 1;