| Index: src/compiler/ppc/code-generator-ppc.cc
|
| diff --git a/src/compiler/ppc/code-generator-ppc.cc b/src/compiler/ppc/code-generator-ppc.cc
|
| index 9d2009ac0fa324d5c56add29d9aad3341b9da457..976519eca2457c19d394ca6428f8d0ed1846b238 100644
|
| --- a/src/compiler/ppc/code-generator-ppc.cc
|
| +++ b/src/compiler/ppc/code-generator-ppc.cc
|
| @@ -966,17 +966,39 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) {
|
| break;
|
| #endif
|
| #if !V8_TARGET_ARCH_PPC64
|
| - case kPPC_PairShiftLeft:
|
| + case kPPC_ShiftLeftPair:
|
| if (instr->InputAt(2)->IsImmediate()) {
|
| - __ PairShiftLeft(i.OutputRegister(0), i.OutputRegister(1),
|
| + __ ShiftLeftPair(i.OutputRegister(0), i.OutputRegister(1),
|
| i.InputRegister(0), i.InputRegister(1),
|
| i.InputInt32(2));
|
| } else {
|
| - __ PairShiftLeft(i.OutputRegister(0), i.OutputRegister(1),
|
| + __ ShiftLeftPair(i.OutputRegister(0), i.OutputRegister(1),
|
| i.InputRegister(0), i.InputRegister(1), kScratchReg,
|
| i.InputRegister(2));
|
| }
|
| break;
|
| + case kPPC_ShiftRightPair:
|
| + if (instr->InputAt(2)->IsImmediate()) {
|
| + __ ShiftRightPair(i.OutputRegister(0), i.OutputRegister(1),
|
| + i.InputRegister(0), i.InputRegister(1),
|
| + i.InputInt32(2));
|
| + } else {
|
| + __ ShiftRightPair(i.OutputRegister(0), i.OutputRegister(1),
|
| + i.InputRegister(0), i.InputRegister(1), kScratchReg,
|
| + i.InputRegister(2));
|
| + }
|
| + break;
|
| + case kPPC_ShiftRightAlgPair:
|
| + if (instr->InputAt(2)->IsImmediate()) {
|
| + __ ShiftRightAlgPair(i.OutputRegister(0), i.OutputRegister(1),
|
| + i.InputRegister(0), i.InputRegister(1),
|
| + i.InputInt32(2));
|
| + } else {
|
| + __ ShiftRightAlgPair(i.OutputRegister(0), i.OutputRegister(1),
|
| + i.InputRegister(0), i.InputRegister(1),
|
| + kScratchReg, i.InputRegister(2));
|
| + }
|
| + break;
|
| #endif
|
| case kPPC_RotRight32:
|
| if (HasRegisterInput(instr, 1)) {
|
|
|