| Index: src/compiler/ia32/code-generator-ia32.cc
|
| diff --git a/src/compiler/ia32/code-generator-ia32.cc b/src/compiler/ia32/code-generator-ia32.cc
|
| index 1f61af8abf9c14f56ff27a7eb4dae6bcd8b40f6a..b0fd24f61e4fb805fc4475eae6d6da34414b665f 100644
|
| --- a/src/compiler/ia32/code-generator-ia32.cc
|
| +++ b/src/compiler/ia32/code-generator-ia32.cc
|
| @@ -632,6 +632,14 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) {
|
| __ sar_cl(i.OutputOperand());
|
| }
|
| break;
|
| + case kIA32Shl64:
|
| + if (HasImmediateInput(instr, 2)) {
|
| + __ Shl64(i.InputRegister(1), i.InputRegister(0), i.InputInt6(2));
|
| + } else {
|
| + // Shift has been loaded into CL by the register allocator.
|
| + __ Shl64_cl(i.InputRegister(1), i.InputRegister(0));
|
| + }
|
| + break;
|
| case kIA32Ror:
|
| if (HasImmediateInput(instr, 1)) {
|
| __ ror(i.OutputOperand(), i.InputInt5(1));
|
|
|