Index: src/ppc/macro-assembler-ppc.cc |
diff --git a/src/ppc/macro-assembler-ppc.cc b/src/ppc/macro-assembler-ppc.cc |
index 8eb352bb1062fd965a1a1b66c2268eb9e0fff612..e543ba853bc00767d8c19d0cae27ed9aa5566294 100644 |
--- a/src/ppc/macro-assembler-ppc.cc |
+++ b/src/ppc/macro-assembler-ppc.cc |
@@ -659,8 +659,7 @@ void MacroAssembler::ConvertIntToFloat(const DoubleRegister dst, |
const Register src, |
const Register int_scratch) { |
MovIntToDouble(dst, src, int_scratch); |
- fcfid(dst, dst); |
- frsp(dst, dst); |
+ fcfids(dst, dst); |
} |
@@ -670,6 +669,13 @@ void MacroAssembler::ConvertInt64ToDouble(Register src, |
MovInt64ToDouble(double_dst, src); |
fcfid(double_dst, double_dst); |
} |
+ |
+ |
+void MacroAssembler::ConvertInt64ToFloat(Register src, |
+ DoubleRegister double_dst) { |
+ MovInt64ToDouble(double_dst, src); |
+ fcfids(double_dst, double_dst); |
+} |
#endif |