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 4e4fdd099bd19ad58397902057c98c4e6e0965ab..65cce7d5848ad13094a2c07742246ca9bff090cb 100644 |
--- a/src/compiler/mips/code-generator-mips.cc |
+++ b/src/compiler/mips/code-generator-mips.cc |
@@ -1005,6 +1005,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), |
@@ -1071,6 +1076,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), |