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 bbf662fe0a1df9e1dfa45256a5946d59ebe8c103..d64d4e4f65426f3c60af6ddf907e399a9d3db9ed 100644 |
--- a/src/compiler/mips/code-generator-mips.cc |
+++ b/src/compiler/mips/code-generator-mips.cc |
@@ -981,6 +981,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), |
@@ -1047,6 +1052,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), |