| 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..3c1fc3c5faf084126d477663086949ac7bc6fa04 100644
|
| --- a/src/compiler/mips/code-generator-mips.cc
|
| +++ b/src/compiler/mips/code-generator-mips.cc
|
| @@ -1088,6 +1088,12 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) {
|
| __ Trunc_uw_d(i.InputDoubleRegister(0), i.OutputRegister(), scratch);
|
| break;
|
| }
|
| + case kMipsTruncUwS: {
|
| + FPURegister scratch = kScratchDoubleReg;
|
| + // TODO(plind): Fix wrong param order of Trunc_uw_s() macro-asm function.
|
| + __ Trunc_uw_s(i.InputDoubleRegister(0), i.OutputRegister(), scratch);
|
| + break;
|
| + }
|
| case kMipsFloat64ExtractLowWord32:
|
| __ FmoveLow(i.OutputRegister(), i.InputDoubleRegister(0));
|
| break;
|
|
|