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 47a766e8c2c9983e8cefa1f5ca5254167532cd2b..31150cc4f2bf95fd81f1cfcc48cb3a828b1851be 100644 |
--- a/src/compiler/mips64/code-generator-mips64.cc |
+++ b/src/compiler/mips64/code-generator-mips64.cc |
@@ -1292,6 +1292,9 @@ CodeGenerator::CodeGenResult CodeGenerator::AssembleArchInstruction( |
} |
break; |
} |
+ case kMips64Float64SilenceNaN: |
+ __ FPUCanonicalizeNaN(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); |
+ break; |
case kMips64Float32Max: { |
// (b < a) ? a : b |
if (kArchVariant == kMips64r6) { |