Index: src/compiler/mips/code-generator-mips.cc |
diff --git a/src/compiler/mips/code-generator-mips.cc b/src/compiler/mips/code-generator-mips.cc |
index eeb089d7919e91bc83e3f5c8b2f12451ae39b407..6be3ae9e2767fe6229510d5501846a10e7bfb3ef 100644 |
--- a/src/compiler/mips/code-generator-mips.cc |
+++ b/src/compiler/mips/code-generator-mips.cc |
@@ -1028,6 +1028,12 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
__ cvt_s_w(i.OutputDoubleRegister(), scratch); |
break; |
} |
+ case kMipsCvtSUw: { |
+ FPURegister scratch = kScratchDoubleReg; |
+ __ Cvt_d_uw(i.OutputDoubleRegister(), i.InputRegister(0), scratch); |
+ __ cvt_s_d(i.OutputDoubleRegister(), i.OutputDoubleRegister()); |
+ break; |
+ } |
case kMipsCvtDUw: { |
FPURegister scratch = kScratchDoubleReg; |
__ Cvt_d_uw(i.OutputDoubleRegister(), i.InputRegister(0), scratch); |