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