| 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 6bf0a7e80a75a59c7f1e0a0d618c6411a707c7d7..4beb382c0b0c197fc66bbe4cdf36895afacdb004 100644
|
| --- a/src/compiler/ppc/code-generator-ppc.cc
|
| +++ b/src/compiler/ppc/code-generator-ppc.cc
|
| @@ -929,6 +929,19 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) {
|
| ASSEMBLE_BINOP_INT_RC(srad, sradi);
|
| break;
|
| #endif
|
| +#if !V8_TARGET_ARCH_PPC64
|
| + case kPPC_PairShiftLeft:
|
| + if (instr->InputAt(2)->IsImmediate()) {
|
| + __ PairShiftLeft(i.OutputRegister(0), i.OutputRegister(1),
|
| + i.InputRegister(0), i.InputRegister(1),
|
| + i.InputInt32(2));
|
| + } else {
|
| + __ PairShiftLeft(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)) {
|
| __ subfic(kScratchReg, i.InputRegister(1), Operand(32));
|
|
|