| 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 b122cbf9553af9bf8b2f7e4d07f4510e9d65352a..dff778d2cd9b547b87c0b45f1f580e2b7c43ef55 100644
|
| --- a/src/compiler/mips64/code-generator-mips64.cc
|
| +++ b/src/compiler/mips64/code-generator-mips64.cc
|
| @@ -1105,6 +1105,11 @@ CodeGenerator::CodeGenResult CodeGenerator::AssembleArchInstruction(
|
| __ sub_s(i.OutputDoubleRegister(), i.InputDoubleRegister(0),
|
| i.InputDoubleRegister(1));
|
| break;
|
| + case kMips64SubPreserveNanS:
|
| + __ SubNanPreservePayloadAndSign_s(i.OutputDoubleRegister(),
|
| + i.InputDoubleRegister(0),
|
| + i.InputDoubleRegister(1));
|
| + break;
|
| case kMips64MulS:
|
| // TODO(plind): add special case: right op is -1.0, see arm port.
|
| __ mul_s(i.OutputDoubleRegister(), i.InputDoubleRegister(0),
|
| @@ -1155,6 +1160,11 @@ CodeGenerator::CodeGenResult CodeGenerator::AssembleArchInstruction(
|
| __ sub_d(i.OutputDoubleRegister(), i.InputDoubleRegister(0),
|
| i.InputDoubleRegister(1));
|
| break;
|
| + case kMips64SubPreserveNanD:
|
| + __ SubNanPreservePayloadAndSign_d(i.OutputDoubleRegister(),
|
| + i.InputDoubleRegister(0),
|
| + i.InputDoubleRegister(1));
|
| + break;
|
| case kMips64MulD:
|
| // TODO(plind): add special case: right op is -1.0, see arm port.
|
| __ mul_d(i.OutputDoubleRegister(), i.InputDoubleRegister(0),
|
|
|