Index: src/compiler/mips64/code-generator-mips64.cc |
diff --git a/src/compiler/mips64/code-generator-mips64.cc b/src/compiler/mips64/code-generator-mips64.cc |
index a52359d120aeb762b58c59c8e8aba6691b12de35..6dedd670fb71cba0ee17010b6e733485eed11064 100644 |
--- a/src/compiler/mips64/code-generator-mips64.cc |
+++ b/src/compiler/mips64/code-generator-mips64.cc |
@@ -798,6 +798,12 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
__ cvt_d_w(i.OutputDoubleRegister(), scratch); |
break; |
} |
+ case kMips64CvtDL: { |
+ FPURegister scratch = kScratchDoubleReg; |
+ __ dmtc1(i.InputRegister(0), scratch); |
+ __ cvt_d_l(i.OutputDoubleRegister(), scratch); |
+ break; |
+ } |
case kMips64CvtDUw: { |
FPURegister scratch = kScratchDoubleReg; |
__ Cvt_d_uw(i.OutputDoubleRegister(), i.InputRegister(0), scratch); |