Lines Matching refs:kMaxValue
114 Smi::kMaxValue, static_cast<int64_t>(Smi::kMaxValue) + 1, in TEST()
121 bool is_in_range = number >= Smi::kMinValue && number <= Smi::kMaxValue; in TEST()
165 TestMoveSmi(masm, &exit, 6, Smi::FromInt(Smi::kMaxValue)); in TEST()
256 TestSmiCompare(masm, &exit, 0xA0, 0, Smi::kMaxValue); in TEST()
257 TestSmiCompare(masm, &exit, 0xB0, Smi::kMaxValue, 0); in TEST()
260 TestSmiCompare(masm, &exit, 0xE0, -1, Smi::kMaxValue); in TEST()
261 TestSmiCompare(masm, &exit, 0xF0, Smi::kMaxValue, -1); in TEST()
263 TestSmiCompare(masm, &exit, 0x110, Smi::kMinValue, Smi::kMaxValue); in TEST()
264 TestSmiCompare(masm, &exit, 0x120, Smi::kMaxValue, Smi::kMinValue); in TEST()
265 TestSmiCompare(masm, &exit, 0x130, Smi::kMaxValue, Smi::kMaxValue); in TEST()
318 __ movl(rcx, Immediate(Smi::kMaxValue)); in TEST()
320 __ Set(rdx, reinterpret_cast<intptr_t>(Smi::FromInt(Smi::kMaxValue))); in TEST()
355 __ movl(rcx, Immediate(Smi::kMaxValue)); in TEST()
357 __ Set(rdx, reinterpret_cast<intptr_t>(Smi::FromInt(Smi::kMaxValue))); in TEST()
423 int64_t twice_max = static_cast<int64_t>(Smi::kMaxValue) * 2; in TEST()
428 TestI64PlusConstantToSmi(masm, &exit, 0x40, Smi::kMaxValue - 5, 5); in TEST()
430 TestI64PlusConstantToSmi(masm, &exit, 0x60, twice_max, -Smi::kMaxValue); in TEST()
431 TestI64PlusConstantToSmi(masm, &exit, 0x70, -twice_max, Smi::kMaxValue); in TEST()
433 TestI64PlusConstantToSmi(masm, &exit, 0x90, 0, Smi::kMaxValue); in TEST()
435 TestI64PlusConstantToSmi(masm, &exit, 0xB0, Smi::kMaxValue, 0); in TEST()
493 __ movl(rcx, Immediate(Smi::kMaxValue)); in TEST()
545 __ movq(rcx, Immediate(Smi::kMaxValue)); in TEST()
558 __ movq(rcx, Immediate(Smi::kMaxValue)); in TEST()
600 __ movq(rcx, Immediate(Smi::kMaxValue)); in TEST()
692 TestSmiNeg(masm, &exit, 0x70, Smi::kMaxValue); in TEST()
693 TestSmiNeg(masm, &exit, 0x80, -Smi::kMaxValue); in TEST()
779 int y_max = (x > 0) ? (Smi::kMaxValue + 0) : (Smi::kMinValue - x - 1); in SmiAddOverflowTest()
780 int y_min = (x > 0) ? (Smi::kMaxValue - x + 1) : (Smi::kMinValue + 0); in SmiAddOverflowTest()
905 SmiAddTest(masm, &exit, 0x70, Smi::kMaxValue, -5); in TEST()
906 SmiAddTest(masm, &exit, 0x80, Smi::kMaxValue, Smi::kMinValue); in TEST()
911 SmiAddOverflowTest(masm, &exit, 0xC0, Smi::kMaxValue); in TEST()
994 int y_max = (x < 0) ? (Smi::kMaxValue + 0) : (Smi::kMinValue + 0); in SmiSubOverflowTest()
995 int y_min = (x < 0) ? (Smi::kMaxValue + x + 2) : (Smi::kMinValue + x); in SmiSubOverflowTest()
1121 SmiSubTest(masm, &exit, 0x70, Smi::kMaxValue, 5); in TEST()
1122 SmiSubTest(masm, &exit, 0x80, -Smi::kMaxValue, Smi::kMinValue); in TEST()
1123 SmiSubTest(masm, &exit, 0x90, 0, Smi::kMaxValue); in TEST()
1127 SmiSubOverflowTest(masm, &exit, 0xC0, Smi::kMaxValue); in TEST()
1211 TestSmiMul(masm, &exit, 0x80, Smi::kMaxValue, -1); in TEST()
1212 TestSmiMul(masm, &exit, 0x90, Smi::kMaxValue, -2); in TEST()
1213 TestSmiMul(masm, &exit, 0xa0, Smi::kMaxValue, 2); in TEST()
1214 TestSmiMul(masm, &exit, 0xb0, (Smi::kMaxValue / 2), 2); in TEST()
1215 TestSmiMul(masm, &exit, 0xc0, (Smi::kMaxValue / 2) + 1, 2); in TEST()
1321 TestSmiDiv(masm, &exit, 0xc0, 1, Smi::kMaxValue); in TEST()
1322 TestSmiDiv(masm, &exit, 0xd0, -1, Smi::kMaxValue); in TEST()
1323 TestSmiDiv(masm, &exit, 0xe0, Smi::kMaxValue, 1); in TEST()
1324 TestSmiDiv(masm, &exit, 0xf0, Smi::kMaxValue, Smi::kMaxValue); in TEST()
1325 TestSmiDiv(masm, &exit, 0x100, Smi::kMaxValue, -Smi::kMaxValue); in TEST()
1326 TestSmiDiv(masm, &exit, 0x110, Smi::kMaxValue, -1); in TEST()
1429 TestSmiMod(masm, &exit, 0xc0, 1, Smi::kMaxValue); in TEST()
1430 TestSmiMod(masm, &exit, 0xd0, -1, Smi::kMaxValue); in TEST()
1431 TestSmiMod(masm, &exit, 0xe0, Smi::kMaxValue, 1); in TEST()
1432 TestSmiMod(masm, &exit, 0xf0, Smi::kMaxValue, Smi::kMaxValue); in TEST()
1433 TestSmiMod(masm, &exit, 0x100, Smi::kMaxValue, -Smi::kMaxValue); in TEST()
1434 TestSmiMod(masm, &exit, 0x110, Smi::kMaxValue, -1); in TEST()
1515 TestSmiIndex(masm, &exit, 0x50, Smi::kMaxValue); in TEST()
1585 TestSelectNonSmi(masm, &exit, 0x80, Smi::kMinValue, Smi::kMaxValue); in TEST()
1662 TestSmiAnd(masm, &exit, 0x80, Smi::kMinValue, Smi::kMaxValue); in TEST()
1741 TestSmiOr(masm, &exit, 0x80, Smi::kMinValue, Smi::kMaxValue); in TEST()
1822 TestSmiXor(masm, &exit, 0x80, Smi::kMinValue, Smi::kMaxValue); in TEST()
1886 TestSmiNot(masm, &exit, 0x70, Smi::kMaxValue); in TEST()
1978 TestSmiShiftLeft(masm, &exit, 0x110, Smi::kMaxValue); in TEST()
2082 TestSmiShiftLogicalRight(masm, &exit, 0x90, Smi::kMaxValue); in TEST()
2149 TestSmiShiftArithmeticRight(masm, &exit, 0x50, Smi::kMaxValue); in TEST()
2215 TestPositiveSmiPowerUp(masm, &exit, 0x140, Smi::kMaxValue); in TEST()