Index: src/x64/code-stubs-x64.cc |
diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc |
index 86d57043a792aed976e5940490579da9a268b88b..12c0ec55473d6277c892b4bed35f1dac7c2b3b37 100644 |
--- a/src/x64/code-stubs-x64.cc |
+++ b/src/x64/code-stubs-x64.cc |
@@ -2961,6 +2961,8 @@ void NumberToStringStub::GenerateLookupNumberStringCache(MacroAssembler* masm, |
times_1, |
FixedArray::kHeaderSize)); |
__ JumpIfSmi(probe, not_found); |
+ ASSERT(CpuFeatures::IsSupported(SSE2)); |
+ CpuFeatures::Scope fscope(SSE2); |
__ movsd(xmm0, FieldOperand(object, HeapNumber::kValueOffset)); |
__ movsd(xmm1, FieldOperand(probe, HeapNumber::kValueOffset)); |
__ ucomisd(xmm0, xmm1); |