Home
last modified time | relevance | path

Searched refs:kMinInt (Results 1 – 25 of 47) sorted by relevance

12

/external/v8/test/mjsunit/
Ddiv-mul-minus-one.js34 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/
Dtest-assembler-ppc.cc547 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 …]
Dtest-assembler-arm.cc531 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/
Dbytecode-pipeline.h185 static const int kInvalidPosition = kMinInt;
Dbytecode-array-iterator.cc181 return kMinInt; in GetJumpTargetOffset()
/external/v8/src/crankshaft/
Dhydrogen-instructions.cc145 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 …]
Dhydrogen-bce.cc60 constant->Integer32Value() != kMinInt) { in Create()
/external/v8/test/unittests/compiler/
Dinstruction-sequence-unittest.h19 static const int kNoValue = kMinInt;
Djs-typed-lowering-unittest.cc601 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()
Dtyper-unittest.cc45 int32s.push_back(kMinInt); in TyperTest()
/external/v8/src/
Dconversions.cc181 if (n == kMinInt) return DoubleToCString(n, buffer); in IntToCString()
Dconversions-inl.h108 return !IsMinusZero(value) && value >= kMinInt && value <= kMaxInt && in IsInt32Double()
Dglobals.h105 const int kMinInt = -kMaxInt - 1; variable
Dframes.h385 ID_MIN_VALUE = kMinInt,
/external/v8/test/cctest/wasm/
Dtest-run-wasm-js.cc43 int32_t arg_i(int which) { return base_ * which + ((which & 1) * kMinInt); } in arg_i()
/external/v8/test/unittests/interpreter/
Dbytecodes-unittest.cc268 CHECK(Bytecodes::SizeForSignedOperand(kMinInt) == OperandSize::kQuad); in TEST()
/external/v8/src/compiler/
Dregister-allocator-verifier.cc143 constraint->value_ = kMinInt; in BuildConstraint()
/external/v8/test/unittests/wasm/
Ddecoder-unittest.cc356 const int32_t min = kMinInt; in TEST_F()
/external/v8/src/crankshaft/ia32/
Dlithium-codegen-ia32.cc949 __ 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/
Dlithium-codegen-mips64.cc1002 __ 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/
Dlithium-codegen-mips.cc1013 __ 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/
Dlithium-codegen-x87.cc1250 __ 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/
Dlithium-codegen-arm.cc1047 __ 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/
Dlithium-codegen-x64.cc977 __ 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/
Dinstruction-selector-ia32-unittest.cc14 const int32_t kImmediates[] = {kMinInt, -42, -1, 0, 1, 2,

12