Index: src/arm/macro-assembler-arm.h |
=================================================================== |
--- src/arm/macro-assembler-arm.h (revision 6244) |
+++ src/arm/macro-assembler-arm.h (working copy) |
@@ -243,9 +243,36 @@ |
const MemOperand& dst, |
Condition cond = al); |
- // Clear FPSCR bits. |
- void ClearFPSCRBits(uint32_t bits_to_clear, Register scratch); |
+ // Clear specified FPSCR bits. |
+ void ClearFPSCRBits(const uint32_t bits_to_clear, |
+ const Register scratch, |
+ const Condition cond = al); |
+ // Compare double values and move the result to the normal condition flags. |
+ // To include NaN check the scratch register is required. In that case the |
+ // overflow bit will be set is any of the operands is a NaN indicating |
+ // unordered result of the comparison. If no scratch register is supplied the |
+ // value if the overflow bit is undefined. |
+ void VFPCompareAndSetFlags(const DwVfpRegister src1, |
+ const DwVfpRegister src2, |
+ const Register scratch = no_reg, |
+ const Condition cond = al); |
+ void VFPCompareAndSetFlags(const DwVfpRegister src1, |
+ const double src2, |
+ const Register scratch = no_reg, |
+ const Condition cond = al); |
+ |
+ // Compare double values and then load the fpscr flags to a register. |
+ void VFPCompareAndLoadFlags(const DwVfpRegister src1, |
+ const DwVfpRegister src2, |
+ const Register fpscr_flags, |
+ const Condition cond = al); |
+ void VFPCompareAndLoadFlags(const DwVfpRegister src1, |
+ const double src2, |
+ const Register fpscr_flags, |
+ const Condition cond = al); |
+ |
+ |
// --------------------------------------------------------------------------- |
// Activation frames |