/external/v8/test/cctest/ |
test-random.cc | 63 double crankshaft_value = HeapNumber::cast(*value)->value(); 67 double runtime_value = HeapNumber::cast(*value)->value(); 107 double crankshaft_value = HeapNumber::cast(*value)->value();
|
/external/chromium_org/v8/src/ |
v8conversions.h | 73 double value = HeapNumber::cast(number)->value();
|
/external/v8/src/mips/ |
code-stubs-mips.cc | 472 STATIC_ASSERT(HeapNumber::kSignMask == 0x80000000u); 473 __ And(exponent, source_, Operand(HeapNumber::kSignMask)); 485 HeapNumber::kExponentBias << HeapNumber::kExponentShift; 499 __ li(mantissa, Operand(31 + HeapNumber::kExponentBias)); 501 __ sll(mantissa, mantissa, HeapNumber::kExponentShift); 509 __ sll(mantissa, source_, HeapNumber::kMantissaBitsInTopWord); 511 __ srl(source_, source_, 32 - HeapNumber::kMantissaBitsInTopWord); 595 // Load the double from tagged HeapNumber to double register. 597 // ARM uses a workaround here because of the unaligned HeapNumber 3589 const Register heapnumber = v0; local [all...] |
stub-cache-mips.cc | [all...] |
macro-assembler-mips.cc | [all...] |
/external/v8/src/arm/ |
stub-cache-arm.cc | [all...] |
code-stubs-arm.cc | 471 STATIC_ASSERT(HeapNumber::kSignMask == 0x80000000u); 472 __ and_(exponent, source_, Operand(HeapNumber::kSignMask), SetCC); 484 HeapNumber::kExponentBias << HeapNumber::kExponentShift; 496 // divide the constant 31 + HeapNumber::kExponentBias, 0x41d, into two parts 499 __ rsb(mantissa, zeros_, Operand(31 + HeapNumber::kExponentBias - fudge)); 503 Operand(mantissa, LSL, HeapNumber::kExponentShift)); 509 __ mov(mantissa, Operand(source_, LSL, HeapNumber::kMantissaBitsInTopWord)); 513 Operand(source_, LSR, 32 - HeapNumber::kMantissaBitsInTopWord)); 595 // Load the double from tagged HeapNumber to double register 3452 const Register heapnumber = r0; local [all...] |
macro-assembler-arm.cc | [all...] |
/external/chromium_org/v8/test/cctest/ |
test-code-stubs.cc | 51 HeapNumber::kExponentBias);
|
test-code-stubs-ia32.cc | 57 source_reg.is(esp) ? 0 : (HeapNumber::kValueOffset - kSmiTagSize);
|
test-code-stubs-x64.cc | 56 source_reg.is(rsp) ? 0 : (HeapNumber::kValueOffset - kSmiTagSize);
|
/external/v8/src/ia32/ |
code-stubs-ia32.cc | 500 __ fld_d(FieldOperand(argument, HeapNumber::kValueOffset)); 648 // Test if operands are numbers (smi or HeapNumber objects), and load 679 __ mov(scratch, FieldOperand(source, HeapNumber::kExponentOffset)); 682 __ and_(scratch2, HeapNumber::kExponentMask); 687 (HeapNumber::kExponentBias + 63) << HeapNumber::kExponentShift; 691 __ fld_d(FieldOperand(source, HeapNumber::kValueOffset)); 707 (HeapNumber::kExponentBias + 30) << HeapNumber::kExponentShift; 720 (HeapNumber::kExponentBias + 31) << HeapNumber::kExponentShift [all...] |
stub-cache-ia32.cc | [all...] |
lithium-codegen-ia32.cc | [all...] |
/external/chromium_org/v8/src/mips/ |
code-stubs-mips.cc | 537 STATIC_ASSERT(HeapNumber::kSignMask == 0x80000000u); 538 __ And(exponent, source_, Operand(HeapNumber::kSignMask)); 550 HeapNumber::kExponentBias << HeapNumber::kExponentShift; 564 __ li(mantissa, Operand(31 + HeapNumber::kExponentBias)); 566 __ sll(mantissa, mantissa, HeapNumber::kExponentShift); 574 __ sll(mantissa, source_, HeapNumber::kMantissaBitsInTopWord); 576 __ srl(source_, source_, 32 - HeapNumber::kMantissaBitsInTopWord); 639 HeapNumber::kExponentShift, 640 HeapNumber::kExponentBits) 1515 const Register heapnumber = v0; local [all...] |
stub-cache-mips.cc | 484 __ ldc1(f4, FieldMemOperand(value_reg, HeapNumber::kValueOffset)); 487 __ sdc1(f4, FieldMemOperand(storage_reg, HeapNumber::kValueOffset)); 656 __ ldc1(f4, FieldMemOperand(value_reg, HeapNumber::kValueOffset)); 659 __ sdc1(f4, FieldMemOperand(scratch1, HeapNumber::kValueOffset)); [all...] |
/external/chromium_org/v8/src/arm/ |
code-stubs-arm.cc | 546 STATIC_ASSERT(HeapNumber::kSignMask == 0x80000000u); 547 __ and_(exponent, source_, Operand(HeapNumber::kSignMask), SetCC); 559 HeapNumber::kExponentBias << HeapNumber::kExponentShift; 569 // divide the constant 31 + HeapNumber::kExponentBias, 0x41d, into two parts 572 __ rsb(mantissa, zeros_, Operand(31 + HeapNumber::kExponentBias - fudge)); 576 Operand(mantissa, LSL, HeapNumber::kExponentShift)); 582 __ mov(mantissa, Operand(source_, LSL, HeapNumber::kMantissaBitsInTopWord)); 586 Operand(source_, LSR, 32 - HeapNumber::kMantissaBitsInTopWord)); 635 HeapNumber::kExponentShift, HeapNumber::kExponentBits) 1463 const Register heapnumber = r0; local [all...] |
/external/v8/src/ |
v8.cc | 238 HeapNumber::cast(heap_number)->set_value(r.double_value);
|
/external/chromium_org/v8/test/mjsunit/regress/ |
regress-137.js | 34 var base = base - (rem / 16); // base is now HeapNumber with valid Smi value.
|
regress-155924.js | 28 // A HeapNumber with certain bits in the mantissa of the floating point
|
/external/v8/test/mjsunit/regress/ |
regress-137.js | 34 var base = base - (rem / 16); // base is now HeapNumber with valid Smi value.
|
regress-155924.js | 28 // A HeapNumber with certain bits in the mantissa of the floating point
|
/external/chromium_org/v8/src/ia32/ |
macro-assembler-ia32.cc | 344 fld_d(FieldOperand(input_reg, HeapNumber::kValueOffset)); 346 mov(result_reg, FieldOperand(input_reg, HeapNumber::kExponentOffset)); 347 and_(result_reg, HeapNumber::kExponentMask); 349 (HeapNumber::kExponentBias + 63) << HeapNumber::kExponentShift; 375 movsd(xmm0, FieldOperand(input_reg, HeapNumber::kValueOffset)); 421 movsd(xmm0, FieldOperand(input_reg, HeapNumber::kValueOffset)); 444 fld_d(FieldOperand(input_reg, HeapNumber::kValueOffset)); 845 uint32_t offset = HeapNumber::kValueOffset + sizeof(kHoleNanLower32); 855 movsd(scratch2, FieldOperand(maybe_number, HeapNumber::kValueOffset)) [all...] |
stub-cache-ia32.cc | [all...] |
/external/v8/src/x64/ |
code-stubs-x64.cc | 482 __ ucomisd(xmm0, FieldOperand(argument, HeapNumber::kValueOffset)); 578 // This fails if either argument is not a Smi nor a HeapNumber, 579 // or if it's a HeapNumber with a value that can't be converted 612 __ movq(double_value, FieldOperand(source, HeapNumber::kValueOffset)); 619 __ shr(double_exponent, Immediate(64 - HeapNumber::kExponentBits)); 620 __ subl(double_exponent, Immediate(HeapNumber::kExponentBias)); 652 __ leal(rcx, Operand(double_exponent, -HeapNumber::kMantissaBits - 1)); 658 __ leal(rcx, Operand(double_exponent, -HeapNumber::kMantissaBits - 1)); 804 __ xor_(FieldOperand(rax, HeapNumber::kValueOffset), kScratchRegister); 824 __ movq(rdx, FieldOperand(rax, HeapNumber::kValueOffset)) [all...] |