Index: runtime/vm/assembler_mips.h |
=================================================================== |
--- runtime/vm/assembler_mips.h (revision 24294) |
+++ runtime/vm/assembler_mips.h (working copy) |
@@ -461,6 +461,11 @@ |
EmitFpuRType(COP1, FMT_L, F0, fs, fd, COP1_CVT_D); |
} |
+ void cvtsd(FRegister fd, DRegister ds) { |
+ FRegister fs = static_cast<FRegister>(ds * 2); |
+ EmitFpuRType(COP1, FMT_D, F0, fs, fd, COP1_CVT_S); |
+ } |
+ |
void cvtwd(FRegister fd, DRegister ds) { |
FRegister fs = static_cast<FRegister>(ds * 2); |
EmitFpuRType(COP1, FMT_D, F0, fs, fd, COP1_CVT_W); |