Index: src/crankshaft/x64/lithium-codegen-x64.cc |
diff --git a/src/crankshaft/x64/lithium-codegen-x64.cc b/src/crankshaft/x64/lithium-codegen-x64.cc |
index 6e35ae0554363e34ebac989b7f7fedcaf1bec139..d624b125dd56d01b57c47a186292ff300da2b8ad 100644 |
--- a/src/crankshaft/x64/lithium-codegen-x64.cc |
+++ b/src/crankshaft/x64/lithium-codegen-x64.cc |
@@ -4693,7 +4693,8 @@ void LCodeGen::EmitNumberUntagD(LNumberUntagD* instr, Register input_reg, |
DeoptimizeIf(not_equal, instr, |
DeoptimizeReason::kNotAHeapNumberUndefined); |
- __ Pcmpeqd(result_reg, result_reg); |
+ __ Xorpd(result_reg, result_reg); |
+ __ Divsd(result_reg, result_reg); |
__ jmp(&done, Label::kNear); |
} |
} else { |