Index: src/mips64/macro-assembler-mips64.cc |
diff --git a/src/mips64/macro-assembler-mips64.cc b/src/mips64/macro-assembler-mips64.cc |
index b621e868a736658a4644c435fbe0c8b1a8fb31fa..916231b2b4ed931d6d77aa97efe68202509abd3b 100644 |
--- a/src/mips64/macro-assembler-mips64.cc |
+++ b/src/mips64/macro-assembler-mips64.cc |
@@ -1717,6 +1717,12 @@ void MacroAssembler::BranchF(Label* target, |
} |
+void MacroAssembler::Move(FPURegister dst, float imm) { |
+ li(at, Operand(bit_cast<int32_t>(imm))); |
+ mtc1(at, dst); |
+} |
+ |
+ |
void MacroAssembler::Move(FPURegister dst, double imm) { |
static const DoubleRepresentation minus_zero(-0.0); |
static const DoubleRepresentation zero(0.0); |