Index: src/compiler/ia32/code-generator-ia32.cc |
diff --git a/src/compiler/ia32/code-generator-ia32.cc b/src/compiler/ia32/code-generator-ia32.cc |
index a7e5e387e1fdf427867f380d61eba2b50c28b5f0..8108b86d808faf246d5b80f9ed05de640204e1e4 100644 |
--- a/src/compiler/ia32/code-generator-ia32.cc |
+++ b/src/compiler/ia32/code-generator-ia32.cc |
@@ -1164,6 +1164,10 @@ CodeGenerator::CodeGenResult CodeGenerator::AssembleArchInstruction( |
__ vxorpd(i.OutputDoubleRegister(), kScratchDoubleReg, i.InputOperand(0)); |
break; |
} |
+ case kSSEFloat64SilenceNaN: |
+ __ xorpd(kScratchDoubleReg, kScratchDoubleReg); |
+ __ subsd(i.InputDoubleRegister(0), kScratchDoubleReg); |
+ break; |
case kIA32Movsxbl: |
__ movsx_b(i.OutputRegister(), i.MemoryOperand()); |
break; |