/external/v8/tools/ |
D | gdb-v8-support.py | 32 kSmiTagMask = (1 << kSmiTagSize) - 1 variable 65 return v & kSmiTagMask == kSmiTag
|
/external/v8/test/cctest/ |
D | test-macro-assembler-x64.cc | 59 using i::kSmiTagMask; 477 __ xorq(rcx, Immediate(kSmiTagMask)); in TEST() 488 __ xorq(rcx, Immediate(kSmiTagMask)); in TEST() 499 __ xorq(rcx, Immediate(kSmiTagMask)); in TEST() 510 __ xorq(rcx, Immediate(kSmiTagMask)); in TEST() 523 __ xorq(rcx, Immediate(kSmiTagMask)); in TEST() 540 __ xorq(rcx, Immediate(kSmiTagMask)); in TEST() 551 __ xorq(rcx, Immediate(kSmiTagMask)); in TEST() 566 __ xorq(rcx, Immediate(kSmiTagMask)); in TEST() 571 __ xorq(rdx, Immediate(kSmiTagMask)); in TEST() [all …]
|
/external/v8/src/arm/ |
D | macro-assembler-arm.cc | 3079 tst(reg1, Operand(kSmiTagMask)); in JumpIfNotBothSmi() 3080 tst(reg2, Operand(kSmiTagMask), eq); in JumpIfNotBothSmi() 3105 tst(reg1, Operand(kSmiTagMask)); in JumpIfEitherSmi() 3106 tst(reg2, Operand(kSmiTagMask), ne); in JumpIfEitherSmi() 3113 tst(object, Operand(kSmiTagMask)); in AssertNotNumber() 3125 tst(object, Operand(kSmiTagMask)); in AssertNotSmi() 3134 tst(object, Operand(kSmiTagMask)); in AssertSmi() 3143 tst(object, Operand(kSmiTagMask)); in AssertString() 3157 tst(object, Operand(kSmiTagMask)); in AssertName() 3171 tst(object, Operand(kSmiTagMask)); in AssertFunction() [all …]
|
D | macro-assembler-arm.h | 1285 tst(value, Operand(kSmiTagMask)); in SmiTst() 1288 tst(value, Operand(kSmiTagMask | kSmiSignMask)); in NonNegativeSmiTst() 1292 tst(value, Operand(kSmiTagMask)); in JumpIfSmi() 1297 tst(value, Operand(kSmiTagMask)); in JumpIfNotSmi()
|
/external/v8/src/x87/ |
D | macro-assembler-x87.cc | 334 test(value, Immediate(kSmiTagMask)); in RecordWriteArray() 911 test(object, Immediate(kSmiTagMask)); in AssertNotNumber() 921 test(object, Immediate(kSmiTagMask)); in AssertSmi() 929 test(object, Immediate(kSmiTagMask)); in AssertString() 942 test(object, Immediate(kSmiTagMask)); in AssertName() 955 test(object, Immediate(kSmiTagMask)); in AssertFunction() 967 test(object, Immediate(kSmiTagMask)); in AssertBoundFunction() 978 test(object, Immediate(kSmiTagMask)); in AssertGeneratorObject() 989 test(object, Immediate(kSmiTagMask)); in AssertReceiver() 1015 test(object, Immediate(kSmiTagMask)); in AssertNotSmi()
|
D | macro-assembler-x87.h | 487 test(value, Immediate(kSmiTagMask)); 493 test(value, Immediate(kSmiTagMask)); 499 test(value, Immediate(kSmiTagMask));
|
D | code-stubs-x87.cc | 390 __ test(ecx, Immediate(kSmiTagMask)); in Generate() 881 __ mov(ecx, Immediate(kSmiTagMask)); in GenerateGeneric() 888 STATIC_ASSERT(kSmiTagMask == 1); in GenerateGeneric() 1021 STATIC_ASSERT(kSmiTagMask == 1); in GenerateGeneric() 1023 __ test(ecx, Immediate(kSmiTagMask)); in GenerateGeneric() 1840 __ test(code_, Immediate(kSmiTagMask | in GenerateFast() 2341 __ test(ecx, Immediate(kSmiTagMask)); in Generate() 3972 __ test(ecx, Immediate(kSmiTagMask)); in Generate() 4079 __ test(ecx, Immediate(kSmiTagMask)); in Generate()
|
/external/v8/src/ia32/ |
D | macro-assembler-ia32.cc | 407 test(value, Immediate(kSmiTagMask)); in RecordWriteArray() 963 test(object, Immediate(kSmiTagMask)); in AssertNotNumber() 973 test(object, Immediate(kSmiTagMask)); in AssertSmi() 981 test(object, Immediate(kSmiTagMask)); in AssertString() 994 test(object, Immediate(kSmiTagMask)); in AssertName() 1007 test(object, Immediate(kSmiTagMask)); in AssertFunction() 1019 test(object, Immediate(kSmiTagMask)); in AssertBoundFunction() 1030 test(object, Immediate(kSmiTagMask)); in AssertGeneratorObject() 1041 test(object, Immediate(kSmiTagMask)); in AssertReceiver() 1068 test(object, Immediate(kSmiTagMask)); in AssertNotSmi()
|
D | macro-assembler-ia32.h | 496 test(value, Immediate(kSmiTagMask)); 502 test(value, Immediate(kSmiTagMask)); 508 test(value, Immediate(kSmiTagMask));
|
D | code-stubs-ia32.cc | 689 __ test(ecx, Immediate(kSmiTagMask)); in Generate() 1186 __ mov(ecx, Immediate(kSmiTagMask)); in GenerateGeneric() 1193 STATIC_ASSERT(kSmiTagMask == 1); in GenerateGeneric() 1314 STATIC_ASSERT(kSmiTagMask == 1); in GenerateGeneric() 1316 __ test(ecx, Immediate(kSmiTagMask)); in GenerateGeneric() 2118 __ test(code_, Immediate(kSmiTagMask | in GenerateFast() 2619 __ test(ecx, Immediate(kSmiTagMask)); in Generate() 4294 __ test(ecx, Immediate(kSmiTagMask)); in Generate() 4403 __ test(ecx, Immediate(kSmiTagMask)); in Generate()
|
/external/v8/src/x64/ |
D | macro-assembler-x64.cc | 1421 testb(src, Immediate(kSmiTagMask)); in CheckSmi() 1428 testb(src, Immediate(kSmiTagMask)); in CheckSmi() 1455 testb(kScratchRegister, Immediate(kSmiTagMask)); in CheckBothSmi() 1488 testb(scratch, Immediate(kSmiTagMask)); in CheckEitherSmi() 1521 andl(dst, Immediate(kSmiTagMask)); in CheckSmiToIndicator() 1523 movl(dst, Immediate(kSmiTagMask)); in CheckSmiToIndicator() 1531 movl(dst, Immediate(kSmiTagMask)); in CheckSmiToIndicator() 1535 andl(dst, Immediate(kSmiTagMask)); in CheckSmiToIndicator() 2375 movl(kScratchRegister, Immediate(kSmiTagMask)); in SelectNonSmi() 2382 DCHECK_EQ(1, static_cast<int>(kSmiTagMask)); in SelectNonSmi() [all …]
|
/external/v8/src/crankshaft/ia32/ |
D | lithium-codegen-ia32.cc | 1890 __ test(reg, Immediate(kSmiTagMask)); in DoBranch() 2114 __ test(input, Immediate(kSmiTagMask)); in DoIsSmiAndBranch() 2300 __ test(object, Immediate(kSmiTagMask)); in DoHasInPrototypeChainAndBranch() 2697 __ test(result, Immediate(kSmiTagMask)); in DoLoadKeyedFixedArray() 2864 __ test(receiver, Immediate(kSmiTagMask)); in DoWrapReceiver() 3999 __ test(result, Immediate(kSmiTagMask)); in DoDeferredMaybeGrowElements() 4360 __ test(result, Immediate(kSmiTagMask)); in DoSmiUntag() 4601 __ test(ToOperand(input), Immediate(kSmiTagMask)); in DoCheckSmi() 4609 __ test(ToOperand(input), Immediate(kSmiTagMask)); in DoCheckNonSmi() 4694 __ test(eax, Immediate(kSmiTagMask)); in DoDeferredInstanceMigration()
|
/external/v8/src/arm64/ |
D | codegen-arm64.cc | 166 __ Tst(x13, kSmiTagMask); in GenerateSmiToDouble()
|
D | macro-assembler-arm64.cc | 1590 Tst(object, kSmiTagMask); in AssertSmi() 1599 Tst(object, kSmiTagMask); in AssertNotSmi() 1689 Tst(object, kSmiTagMask); in AssertString() 1711 Tst(value, kSmiTagMask); in AssertNotNumber() 4595 Tst(object, kSmiTagMask); in AssertIsString()
|
/external/v8/src/crankshaft/x87/ |
D | lithium-codegen-x87.cc | 2162 __ test(reg, Immediate(kSmiTagMask)); in DoBranch() 2400 __ test(input, Immediate(kSmiTagMask)); in DoIsSmiAndBranch() 2586 __ test(object, Immediate(kSmiTagMask)); in DoHasInPrototypeChainAndBranch() 2973 __ test(result, Immediate(kSmiTagMask)); in DoLoadKeyedFixedArray() 3140 __ test(receiver, Immediate(kSmiTagMask)); in DoWrapReceiver() 4324 __ test(result, Immediate(kSmiTagMask)); in DoDeferredMaybeGrowElements() 4711 __ test(result, Immediate(kSmiTagMask)); in DoSmiUntag() 4993 __ test(ToOperand(input), Immediate(kSmiTagMask)); in DoCheckSmi() 5001 __ test(ToOperand(input), Immediate(kSmiTagMask)); in DoCheckNonSmi() 5086 __ test(eax, Immediate(kSmiTagMask)); in DoDeferredInstanceMigration()
|
/external/v8/src/ |
D | globals.h | 708 ((reinterpret_cast<intptr_t>(value) & kSmiTagMask) == kSmiTag)
|
/external/v8/src/mips64/ |
D | macro-assembler-mips64.cc | 6482 andi(scratch, value, kSmiTagMask); in JumpIfSmi() 6491 andi(scratch, value, kSmiTagMask); in JumpIfNotSmi() 6502 DCHECK_EQ(1, kSmiTagMask); in JumpIfNotBothSmi() 6504 DCHECK_EQ((int64_t)1, kSmiTagMask); in JumpIfNotBothSmi() 6517 DCHECK_EQ(1, kSmiTagMask); in JumpIfEitherSmi() 6519 DCHECK_EQ((int64_t)1, kSmiTagMask); in JumpIfEitherSmi() 6529 andi(at, object, kSmiTagMask); in AssertNotNumber() 6539 andi(at, object, kSmiTagMask); in AssertNotSmi() 6548 andi(at, object, kSmiTagMask); in AssertSmi()
|
D | macro-assembler-mips64.h | 1696 And(scratch, value, Operand(kSmiTagMask)); in SmiTst() 1699 And(scratch, value, Operand(kSmiTagMask | kSmiSignMask)); in NonNegativeSmiTst()
|
/external/v8/src/mips/ |
D | macro-assembler-mips.h | 1554 And(scratch, value, Operand(kSmiTagMask)); in SmiTst() 1557 And(scratch, value, Operand(kSmiTagMask | kSmiSignMask)); in NonNegativeSmiTst()
|
D | macro-assembler-mips.cc | 6151 andi(scratch, value, kSmiTagMask); in JumpIfSmi() 6160 andi(scratch, value, kSmiTagMask); in JumpIfNotSmi() 6169 DCHECK_EQ(1, kSmiTagMask); in JumpIfNotBothSmi() 6179 DCHECK_EQ(1, kSmiTagMask); in JumpIfEitherSmi() 6188 andi(at, object, kSmiTagMask); in AssertNotNumber() 6198 andi(at, object, kSmiTagMask); in AssertNotSmi() 6207 andi(at, object, kSmiTagMask); in AssertSmi()
|
/external/v8/src/full-codegen/ia32/ |
D | full-codegen-ia32.cc | 37 __ test(reg, Immediate(kSmiTagMask)); in EmitJumpIfNotSmi() 44 __ test(reg, Immediate(kSmiTagMask)); in EmitJumpIfSmi() 1859 __ and_(eax, Immediate(~kSmiTagMask)); in EmitInlineSmiBinaryOp() 2590 __ test(eax, Immediate(kSmiTagMask)); in EmitIsSmi()
|
/external/v8/src/full-codegen/x87/ |
D | full-codegen-x87.cc | 37 __ test(reg, Immediate(kSmiTagMask)); in EmitJumpIfNotSmi() 44 __ test(reg, Immediate(kSmiTagMask)); in EmitJumpIfSmi() 1851 __ and_(eax, Immediate(~kSmiTagMask)); in EmitInlineSmiBinaryOp() 2582 __ test(eax, Immediate(kSmiTagMask)); in EmitIsSmi()
|
/external/v8/src/s390/ |
D | macro-assembler-s390.h | 1622 STATIC_ASSERT((kSmiTagMask | kSmiSignMask) == in TestIfPositiveSmi() 1624 mov(scratch, Operand(kIntptrSignBit | kSmiTagMask)); in TestIfPositiveSmi()
|
/external/v8/src/ic/mips64/ |
D | ic-mips64.cc | 846 patcher.masm()->andi(at, reg, kSmiTagMask); in PatchInlinedSmiCode()
|
/external/v8/src/ic/arm64/ |
D | ic-arm64.cc | 824 STATIC_ASSERT(kSmiTagMask == 1); in PatchInlinedSmiCode()
|