Index: src/compiler/x64/code-generator-x64.cc |
diff --git a/src/compiler/x64/code-generator-x64.cc b/src/compiler/x64/code-generator-x64.cc |
index 289730cabaafa82c137347630123d4eea757c9c7..5d571a9be807656d2ba38d79e5ae5670f8044de0 100644 |
--- a/src/compiler/x64/code-generator-x64.cc |
+++ b/src/compiler/x64/code-generator-x64.cc |
@@ -1558,6 +1558,10 @@ CodeGenerator::CodeGenResult CodeGenerator::AssembleArchInstruction( |
} |
break; |
} |
+ case kSSEFloat64SilenceNaN: |
+ __ Xorpd(kScratchDoubleReg, kScratchDoubleReg); |
+ __ Subsd(i.InputDoubleRegister(0), kScratchDoubleReg); |
+ break; |
case kX64Movsxbl: |
ASSEMBLE_MOVX(movsxbl); |
__ AssertZeroExtended(i.OutputRegister()); |