Index: src/mips/macro-assembler-mips.cc |
diff --git a/src/mips/macro-assembler-mips.cc b/src/mips/macro-assembler-mips.cc |
index b2f60c5d2a09749cdedcbb862495d6ac1c01c3db..c290f8b3449a500788eb9947b5b2d62de68cdae9 100644 |
--- a/src/mips/macro-assembler-mips.cc |
+++ b/src/mips/macro-assembler-mips.cc |
@@ -1549,6 +1549,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); |