Index: src/arm/macro-assembler-arm.cc |
=================================================================== |
--- src/arm/macro-assembler-arm.cc (revision 6231) |
+++ src/arm/macro-assembler-arm.cc (working copy) |
@@ -519,6 +519,13 @@ |
} |
+void MacroAssembler::ClearFPSCRBits(uint32_t bits_to_clear, Register scratch) { |
+ vmrs(scratch); |
+ bic(scratch, scratch, Operand(bits_to_clear)); |
+ vmsr(scratch); |
+} |
+ |
+ |
void MacroAssembler::EnterFrame(StackFrame::Type type) { |
// r0-r3: preserved |
stm(db_w, sp, cp.bit() | fp.bit() | lr.bit()); |