Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index c4bc955e1d4b7a66e4ade44fa4689eee401b23ff..e98559d0589beb532412fb32dcd217d6a41e5b31 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -1537,7 +1537,7 @@ void LCodeGen::DoShiftI(LShiftI* instr) { |
case Token::SHL: |
if (shift_count != 0) { |
if (instr->hydrogen_value()->representation().IsSmi()) { |
- __ shl(ToRegister(left), Immediate(shift_count)); |
+ __ shlp(ToRegister(left), Immediate(shift_count)); |
} else { |
__ shll(ToRegister(left), Immediate(shift_count)); |
} |
@@ -2684,7 +2684,7 @@ void LCodeGen::DoReturn(LReturn* instr) { |
__ SmiToInteger32(reg, reg); |
Register return_addr_reg = reg.is(rcx) ? rbx : rcx; |
__ PopReturnAddressTo(return_addr_reg); |
- __ shl(reg, Immediate(kPointerSizeLog2)); |
+ __ shlp(reg, Immediate(kPointerSizeLog2)); |
__ addp(rsp, reg); |
__ jmp(return_addr_reg); |
} |
@@ -3488,8 +3488,8 @@ void LCodeGen::DoDeferredMathAbsTaggedHeapNumber(LMathAbs* instr) { |
__ bind(&allocated); |
__ movq(tmp2, FieldOperand(input_reg, HeapNumber::kValueOffset)); |
- __ shl(tmp2, Immediate(1)); |
- __ shr(tmp2, Immediate(1)); |
+ __ shlq(tmp2, Immediate(1)); |
+ __ shrq(tmp2, Immediate(1)); |
__ movq(FieldOperand(tmp, HeapNumber::kValueOffset), tmp2); |
__ StoreToSafepointRegisterSlot(input_reg, tmp); |
@@ -5101,7 +5101,7 @@ void LCodeGen::DoDoubleBits(LDoubleBits* instr) { |
Register result_reg = ToRegister(instr->result()); |
if (instr->hydrogen()->bits() == HDoubleBits::HIGH) { |
__ movq(result_reg, value_reg); |
- __ shr(result_reg, Immediate(32)); |
+ __ shrq(result_reg, Immediate(32)); |
} else { |
__ movd(result_reg, value_reg); |
} |
@@ -5173,7 +5173,7 @@ void LCodeGen::DoAllocate(LAllocate* instr) { |
__ movl(temp, Immediate((size / kPointerSize) - 1)); |
} else { |
temp = ToRegister(instr->size()); |
- __ sar(temp, Immediate(kPointerSizeLog2)); |
+ __ sarp(temp, Immediate(kPointerSizeLog2)); |
__ decl(temp); |
} |
Label loop; |