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 6591fbfc9bb821d81aab2e71e81afad00b45fef2..8d010d896a0848390cf663fc4ee3d96bcfa12785 100644 |
--- a/src/compiler/mips64/code-generator-mips64.cc |
+++ b/src/compiler/mips64/code-generator-mips64.cc |
@@ -987,6 +987,12 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
__ Trunc_uw_d(i.InputDoubleRegister(0), i.OutputRegister(), scratch); |
break; |
} |
+ case kMips64TruncUlD: { |
+ FPURegister scratch = kScratchDoubleReg; |
+ // TODO(plind): Fix wrong param order of Trunc_ul_d() macro-asm function. |
+ __ Trunc_ul_d(i.InputDoubleRegister(0), i.OutputRegister(), scratch); |
+ break; |
+ } |
case kMips64BitcastDL: |
__ dmfc1(i.OutputRegister(), i.InputDoubleRegister(0)); |
break; |