/external/v8/test/mjsunit/ |
D | div-mul-minus-one.js | 34 var kMinInt = 1 << 31; variable 35 var expected_MinInt = div(kMinInt); 38 assertEquals(expected_MinInt, div(kMinInt)); 45 expected_MinInt = mul(kMinInt); 48 assertEquals(expected_MinInt, mul(kMinInt));
|
/external/v8/test/cctest/ |
D | test-assembler-ppc.cc | 547 TestRoundingMode(s32_f64, RN, static_cast<double>(kMinInt), kMinInt); 548 TestRoundingMode(s32_f64, RN, (kMinInt - 0.5), kMinInt); 549 TestRoundingMode(s32_f64, RN, (kMinInt - 1.0), kMinInt, true); 550 TestRoundingMode(s32_f64, RN, (kMinInt - 0.51), kMinInt, true); 562 TestRoundingMode(s32_f64, RM, static_cast<double>(kMinInt), kMinInt); 563 TestRoundingMode(s32_f64, RM, (kMinInt - 0.5), kMinInt, true); 564 TestRoundingMode(s32_f64, RM, (kMinInt + 0.5), kMinInt); 576 TestRoundingMode(s32_f64, RZ, static_cast<double>(kMinInt), kMinInt); 577 TestRoundingMode(s32_f64, RZ, (kMinInt - 0.5), kMinInt); 578 TestRoundingMode(s32_f64, RZ, (kMinInt - 1.0), kMinInt, true); [all …]
|
D | test-assembler-arm.cc | 531 TestRoundingMode(s32_f64, RN, static_cast<double>(kMinInt), kMinInt); 532 TestRoundingMode(s32_f64, RN, (kMinInt - 0.5), kMinInt); 533 TestRoundingMode(s32_f64, RN, (kMinInt - 1.0), kMinInt, true); 534 TestRoundingMode(s32_f64, RN, (kMinInt - 0.51), kMinInt, true); 546 TestRoundingMode(s32_f64, RM, static_cast<double>(kMinInt), kMinInt); 547 TestRoundingMode(s32_f64, RM, (kMinInt - 0.5), kMinInt, true); 548 TestRoundingMode(s32_f64, RM, (kMinInt + 0.5), kMinInt); 560 TestRoundingMode(s32_f64, RZ, static_cast<double>(kMinInt), kMinInt); 561 TestRoundingMode(s32_f64, RZ, (kMinInt - 0.5), kMinInt); 562 TestRoundingMode(s32_f64, RZ, (kMinInt - 1.0), kMinInt, true); [all …]
|
/external/v8/src/interpreter/ |
D | bytecode-pipeline.h | 185 static const int kInvalidPosition = kMinInt;
|
D | bytecode-array-iterator.cc | 181 return kMinInt; in GetJumpTargetOffset()
|
/external/v8/src/crankshaft/ |
D | hydrogen-instructions.cc | 145 if (result < kMinInt) { in ConvertAndSetOverflow() 147 return kMinInt; in ConvertAndSetOverflow() 252 lower_ = kMinInt; in Shl() 1148 int abs_upper = upper == kMinInt ? kMaxInt : abs(upper); in InferRange() 1149 int abs_lower = lower == kMinInt ? kMaxInt : abs(lower); in InferRange() 1728 : new(zone) Range(kMinInt, kMaxInt); in InferRange() 1819 if (!a->Includes(kMinInt) || !b->Includes(-1)) { in InferRange() 1841 if (!a->Includes(kMinInt)) { in InferRange() 1853 if (!a->Includes(kMinInt) || !b->Includes(-1)) { in InferRange() 1892 if (!a->Includes(kMinInt) || !b->Includes(-1)) { in InferRange() [all …]
|
D | hydrogen-bce.cc | 60 constant->Integer32Value() != kMinInt) { in Create()
|
/external/v8/test/unittests/compiler/ |
D | instruction-sequence-unittest.h | 19 static const int kNoValue = kMinInt;
|
D | js-typed-lowering-unittest.cc | 601 Type::Range(kMinInt / element_size, kMaxInt / element_size, zone())); in TEST_F() 678 Type::Range(kMinInt / element_size, kMaxInt / element_size, zone())); in TEST_F() 722 Type::Range(kMinInt / element_size, kMaxInt / element_size, zone())); in TEST_F()
|
D | typer-unittest.cc | 45 int32s.push_back(kMinInt); in TyperTest()
|
/external/v8/src/ |
D | conversions.cc | 181 if (n == kMinInt) return DoubleToCString(n, buffer); in IntToCString()
|
D | conversions-inl.h | 108 return !IsMinusZero(value) && value >= kMinInt && value <= kMaxInt && in IsInt32Double()
|
D | globals.h | 105 const int kMinInt = -kMaxInt - 1; variable
|
D | frames.h | 385 ID_MIN_VALUE = kMinInt,
|
/external/v8/test/cctest/wasm/ |
D | test-run-wasm-js.cc | 43 int32_t arg_i(int which) { return base_ * which + ((which & 1) * kMinInt); } in arg_i()
|
/external/v8/test/unittests/interpreter/ |
D | bytecodes-unittest.cc | 268 CHECK(Bytecodes::SizeForSignedOperand(kMinInt) == OperandSize::kQuad); in TEST()
|
/external/v8/src/compiler/ |
D | register-allocator-verifier.cc | 143 constraint->value_ = kMinInt; in BuildConstraint()
|
/external/v8/test/unittests/wasm/ |
D | decoder-unittest.cc | 356 const int32_t min = kMinInt; in TEST_F()
|
/external/v8/src/crankshaft/ia32/ |
D | lithium-codegen-ia32.cc | 949 __ cmp(left_reg, kMinInt); in DoModI() 985 DCHECK(divisor == kMinInt || base::bits::IsPowerOfTwo32(Abs(divisor))); in DoDivByPowerOf2I() 996 __ cmp(dividend, kMinInt); in DoDivByPowerOf2I() 1079 __ cmp(dividend, kMinInt); in DoDivI() 1134 __ mov(dividend, Immediate(kMinInt / divisor)); in DoFlooringDivByPowerOf2I() 1219 __ cmp(dividend, kMinInt); in DoFlooringDivI()
|
/external/v8/src/crankshaft/mips64/ |
D | lithium-codegen-mips64.cc | 1002 __ Branch(&no_overflow_possible, ne, left_reg, Operand(kMinInt)); in DoModI() 1028 DCHECK(divisor == kMinInt || base::bits::IsPowerOfTwo32(Abs(divisor))); in DoDivByPowerOf2I() 1039 DeoptimizeIf(eq, instr, Deoptimizer::kOverflow, dividend, Operand(kMinInt)); in DoDivByPowerOf2I() 1129 __ Branch(&left_not_min_int, ne, dividend, Operand(kMinInt)); in DoDivI() 1208 __ li(result, Operand(kMinInt / divisor), CONSTANT_SIZE); in DoFlooringDivByPowerOf2I() 1292 __ Branch(&left_not_min_int, ne, dividend, Operand(kMinInt)); in DoFlooringDivI()
|
/external/v8/src/crankshaft/mips/ |
D | lithium-codegen-mips.cc | 1013 __ Branch(&no_overflow_possible, ne, left_reg, Operand(kMinInt)); in DoModI() 1038 DCHECK(divisor == kMinInt || base::bits::IsPowerOfTwo32(Abs(divisor))); in DoDivByPowerOf2I() 1049 DeoptimizeIf(eq, instr, Deoptimizer::kOverflow, dividend, Operand(kMinInt)); in DoDivByPowerOf2I() 1140 __ Branch(&left_not_min_int, ne, dividend, Operand(kMinInt)); in DoDivI() 1214 __ li(result, Operand(kMinInt / divisor)); in DoFlooringDivByPowerOf2I() 1298 __ Branch(&left_not_min_int, ne, dividend, Operand(kMinInt)); in DoFlooringDivI()
|
/external/v8/src/crankshaft/x87/ |
D | lithium-codegen-x87.cc | 1250 __ cmp(left_reg, kMinInt); in DoModI() 1286 DCHECK(divisor == kMinInt || base::bits::IsPowerOfTwo32(Abs(divisor))); in DoDivByPowerOf2I() 1297 __ cmp(dividend, kMinInt); in DoDivByPowerOf2I() 1380 __ cmp(dividend, kMinInt); in DoDivI() 1435 __ mov(dividend, Immediate(kMinInt / divisor)); in DoFlooringDivByPowerOf2I() 1520 __ cmp(dividend, kMinInt); in DoFlooringDivI()
|
/external/v8/src/crankshaft/arm/ |
D | lithium-codegen-arm.cc | 1047 __ cmp(left_reg, Operand(kMinInt)); in DoModI() 1138 DCHECK(divisor == kMinInt || base::bits::IsPowerOfTwo32(Abs(divisor))); in DoDivByPowerOf2I() 1149 __ cmp(dividend, Operand(kMinInt)); in DoDivByPowerOf2I() 1240 __ cmp(dividend, Operand(kMinInt)); in DoDivI() 1333 __ mov(result, Operand(kMinInt / divisor), LeaveCC, vs); in DoFlooringDivByPowerOf2I() 1416 __ cmp(left, Operand(kMinInt)); in DoFlooringDivI()
|
/external/v8/src/crankshaft/x64/ |
D | lithium-codegen-x64.cc | 977 __ cmpl(left_reg, Immediate(kMinInt)); in DoModI() 1046 __ movl(dividend, Immediate(kMinInt / divisor)); in DoFlooringDivByPowerOf2I() 1131 __ cmpl(dividend, Immediate(kMinInt)); in DoFlooringDivI() 1156 DCHECK(divisor == kMinInt || base::bits::IsPowerOfTwo32(Abs(divisor))); in DoDivByPowerOf2I() 1167 __ cmpl(dividend, Immediate(kMinInt)); in DoDivByPowerOf2I() 1250 __ cmpl(dividend, Immediate(kMinInt)); in DoDivI()
|
/external/v8/test/unittests/compiler/ia32/ |
D | instruction-selector-ia32-unittest.cc | 14 const int32_t kImmediates[] = {kMinInt, -42, -1, 0, 1, 2,
|