Home | History | Annotate | Download | only in mips

Lines Matching full:exponent

485 // registers.  The format is 1 sign bit, 11 exponent bits (biased 1023) and
525 Register exponent = result1_;
528 Register exponent = result2_;
535 // in the exponent word of the double has the same position and polarity as
538 __ And(exponent, source_, Operand(HeapNumber::kSignMask));
541 __ Movn(source_, at, exponent);
548 // For 1 or -1 we need to or in the 0 exponent (biased to 1023).
552 __ Or(at, exponent, Operand(exponent_word_for_1));
553 __ Movn(exponent, at, source_); // Write exp when source not 0.
562 // Compute exponent and or it into the exponent register.
567 __ Or(exponent, exponent, mantissa);
579 __ or_(exponent, exponent, source_);
636 // Extract the biased exponent in result.
647 // Express exponent as delta to (number of mantissa bits + 31).
730 // We test for the special value that has a different exponent.
736 // Set up the correct exponent in scratch_. All non-Smi int32s have the same.
737 // A non-Smi integer is 1.xxx * 2^30 so the exponent is 30 (biased).
748 // exponent that happens to be 1. The sign bit is 0 so we shift 10 to get
749 // the most significant 1 to hit the last bit of the 12 bit sign and exponent.
843 // The representation of NaN values has all exponent bits (52..62) set,
847 // Test that exponent bits are all set.
852 // Shift out flag and all exponent bits, retaining only mantissa.
1513 const Register exponent = a2;
1527 // The exponent and base are supplied as arguments on the stack.
1531 __ lw(exponent, MemOperand(sp, 0 * kPointerSize));
1547 __ UntagAndJumpIfSmi(scratch, exponent, &int_exponent);
1549 __ lw(scratch, FieldMemOperand(exponent, JSObject::kMapOffset));
1552 FieldMemOperand(exponent, HeapNumber::kValueOffset));
1555 __ UntagAndJumpIfSmi(scratch, exponent, &int_exponent);
1558 FieldMemOperand(exponent, HeapNumber::kValueOffset));
1639 // Calculate power with integer exponent.
1642 // Get two copies of exponent in the registers scratch and exponent.
1644 __ mov(scratch, exponent);
1646 // Exponent has previously been stored into scratch as untagged integer.
1647 __ mov(exponent, scratch);
1653 // Get absolute value of exponent.
1677 __ Branch(&done, ge, exponent, Operand(zero_reg));
1684 // double_exponent may not contain the exponent value if the input was a
1685 // smi. We set it with exponent value before bailing out.
1686 __ mtc1(exponent, single_scratch);
1697 // as heap number in exponent.