Index: src/x64/macro-assembler-x64.cc |
diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc |
index 6c1c19df3e86996ea65d508156660692cd28c381..58659241a66e1afd72f2a322347276dce878e546 100644 |
--- a/src/x64/macro-assembler-x64.cc |
+++ b/src/x64/macro-assembler-x64.cc |
@@ -899,7 +899,6 @@ void MacroAssembler::PushCallerSaved(SaveFPRegsMode fp_mode, |
} |
// R12 to r15 are callee save on all platforms. |
if (fp_mode == kSaveFPRegs) { |
- CpuFeatureScope scope(this, SSE2); |
subq(rsp, Immediate(kDoubleSize * XMMRegister::kMaxNumRegisters)); |
for (int i = 0; i < XMMRegister::kMaxNumRegisters; i++) { |
XMMRegister reg = XMMRegister::from_code(i); |
@@ -914,7 +913,6 @@ void MacroAssembler::PopCallerSaved(SaveFPRegsMode fp_mode, |
Register exclusion2, |
Register exclusion3) { |
if (fp_mode == kSaveFPRegs) { |
- CpuFeatureScope scope(this, SSE2); |
for (int i = 0; i < XMMRegister::kMaxNumRegisters; i++) { |
XMMRegister reg = XMMRegister::from_code(i); |
movsd(reg, Operand(rsp, i * kDoubleSize)); |