Index: src/x87/code-stubs-x87.cc |
diff --git a/src/x87/code-stubs-x87.cc b/src/x87/code-stubs-x87.cc |
index 19f2ef582d793b922f3166d034c0642220aad1eb..62f2c3dc36773a3ff6656c918357976164df1518 100644 |
--- a/src/x87/code-stubs-x87.cc |
+++ b/src/x87/code-stubs-x87.cc |
@@ -241,7 +241,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)); |
{ |