| 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 3683740b8924065cdf3b5cc283d9a99bc1086c4d..56c6fe19615c38b5df3c1db4b3a9f86351d57c00 100644
|
| --- a/src/compiler/mips64/code-generator-mips64.cc
|
| +++ b/src/compiler/mips64/code-generator-mips64.cc
|
| @@ -1126,8 +1126,10 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) {
|
| }
|
| case kMips64TruncUlD: {
|
| FPURegister scratch = kScratchDoubleReg;
|
| + Register result = instr->OutputCount() > 1 ? i.OutputRegister(1) : no_reg;
|
| // TODO(plind): Fix wrong param order of Trunc_ul_d() macro-asm function.
|
| - __ Trunc_ul_d(i.InputDoubleRegister(0), i.OutputRegister(), scratch);
|
| + __ Trunc_ul_d(i.InputDoubleRegister(0), i.OutputRegister(0), scratch,
|
| + result);
|
| break;
|
| }
|
| case kMips64BitcastDL:
|
|
|