| 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 ffc0258ba035582c347f097c77e98a45e9ded722..24263b8e4c1446aa59be6d89f255644f3d6aa3ed 100644
|
| --- a/src/compiler/mips/code-generator-mips.cc
|
| +++ b/src/compiler/mips/code-generator-mips.cc
|
| @@ -941,6 +941,11 @@ CodeGenerator::CodeGenResult CodeGenerator::AssembleArchInstruction(
|
| __ sub_s(i.OutputDoubleRegister(), i.InputDoubleRegister(0),
|
| i.InputDoubleRegister(1));
|
| break;
|
| + case kMipsSubPreserveNanS:
|
| + __ SubNanPreservePayloadAndSign_s(i.OutputDoubleRegister(),
|
| + i.InputDoubleRegister(0),
|
| + i.InputDoubleRegister(1));
|
| + break;
|
| case kMipsMulS:
|
| // TODO(plind): add special case: right op is -1.0, see arm port.
|
| __ mul_s(i.OutputDoubleRegister(), i.InputDoubleRegister(0),
|
| @@ -1007,6 +1012,11 @@ CodeGenerator::CodeGenResult CodeGenerator::AssembleArchInstruction(
|
| __ sub_d(i.OutputDoubleRegister(), i.InputDoubleRegister(0),
|
| i.InputDoubleRegister(1));
|
| break;
|
| + case kMipsSubPreserveNanD:
|
| + __ SubNanPreservePayloadAndSign_d(i.OutputDoubleRegister(),
|
| + i.InputDoubleRegister(0),
|
| + i.InputDoubleRegister(1));
|
| + break;
|
| case kMipsMulD:
|
| // TODO(plind): add special case: right op is -1.0, see arm port.
|
| __ mul_d(i.OutputDoubleRegister(), i.InputDoubleRegister(0),
|
|
|