Index: src/ia32/code-stubs-ia32.cc |
diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc |
index 47b93d601a88ef34f1103175e3da063a868c94a7..70b488398243ce2ea691a81e16c2eb493f072cb1 100644 |
--- a/src/ia32/code-stubs-ia32.cc |
+++ b/src/ia32/code-stubs-ia32.cc |
@@ -275,7 +275,7 @@ void DoubleToIStub::Generate(MacroAssembler* masm) { |
Immediate(static_cast<uint32_t>(Double::kSignificandMask >> 32))); |
__ add(result_reg, |
Immediate(static_cast<uint32_t>(Double::kHiddenBit >> 32))); |
- __ shrd(result_reg, scratch1); |
+ __ shrd_cl(scratch1, result_reg); |
__ shr_cl(result_reg); |
__ test(ecx, Immediate(32)); |
__ cmov(not_equal, scratch1, result_reg); |