Index: src/mips/macro-assembler-mips.cc |
diff --git a/src/mips/macro-assembler-mips.cc b/src/mips/macro-assembler-mips.cc |
index ae44b3d4db197cee34996f7e29fba11afb8322e1..f965e8ba48ff16ede91dc12e38258f800c7d3d11 100644 |
--- a/src/mips/macro-assembler-mips.cc |
+++ b/src/mips/macro-assembler-mips.cc |
@@ -1549,6 +1549,18 @@ void MacroAssembler::BranchF(Label* target, |
} |
+void MacroAssembler::FmoveLow(FPURegister dst, Register src_low) { |
+ if (IsFp64Mode()) { |
+ DCHECK(!src_low.is(at)); |
+ mfhc1(at, dst); |
+ mtc1(src_low, dst); |
+ mthc1(at, dst); |
+ } else { |
+ mtc1(src_low, dst); |
+ } |
+} |
+ |
+ |
void MacroAssembler::Move(FPURegister dst, float imm) { |
li(at, Operand(bit_cast<int32_t>(imm))); |
mtc1(at, dst); |