| Index: src/compiler/ppc/instruction-selector-ppc.cc
|
| diff --git a/src/compiler/ppc/instruction-selector-ppc.cc b/src/compiler/ppc/instruction-selector-ppc.cc
|
| index c96c891fa9a437e9824081f4a89e25e66dacd5ec..bf50ea4e6ebd4727732a56a0513ca4ffac3c41e5 100644
|
| --- a/src/compiler/ppc/instruction-selector-ppc.cc
|
| +++ b/src/compiler/ppc/instruction-selector-ppc.cc
|
| @@ -841,7 +841,7 @@ void VisitPairBinop(InstructionSelector* selector, InstructionCode opcode,
|
| }
|
|
|
| void InstructionSelector::VisitInt32PairAdd(Node* node) {
|
| - VisitPairBinop(this, kPPC_AddPair, kPPC_Add, node);
|
| + VisitPairBinop(this, kPPC_AddPair, kPPC_Add32, node);
|
| }
|
|
|
| void InstructionSelector::VisitInt32PairSub(Node* node) {
|
| @@ -1018,13 +1018,13 @@ void InstructionSelector::VisitWord64ReverseBytes(Node* node) { UNREACHABLE(); }
|
| void InstructionSelector::VisitWord32ReverseBytes(Node* node) { UNREACHABLE(); }
|
|
|
| void InstructionSelector::VisitInt32Add(Node* node) {
|
| - VisitBinop<Int32BinopMatcher>(this, node, kPPC_Add, kInt16Imm);
|
| + VisitBinop<Int32BinopMatcher>(this, node, kPPC_Add32, kInt16Imm);
|
| }
|
|
|
|
|
| #if V8_TARGET_ARCH_PPC64
|
| void InstructionSelector::VisitInt64Add(Node* node) {
|
| - VisitBinop<Int64BinopMatcher>(this, node, kPPC_Add, kInt16Imm);
|
| + VisitBinop<Int64BinopMatcher>(this, node, kPPC_Add64, kInt16Imm);
|
| }
|
| #endif
|
|
|
| @@ -1486,11 +1486,11 @@ void InstructionSelector::VisitInt32SubWithOverflow(Node* node) {
|
| void InstructionSelector::VisitInt64AddWithOverflow(Node* node) {
|
| if (Node* ovf = NodeProperties::FindProjection(node, 1)) {
|
| FlagsContinuation cont = FlagsContinuation::ForSet(kOverflow, ovf);
|
| - return VisitBinop<Int64BinopMatcher>(this, node, kPPC_Add, kInt16Imm,
|
| + return VisitBinop<Int64BinopMatcher>(this, node, kPPC_Add64, kInt16Imm,
|
| &cont);
|
| }
|
| FlagsContinuation cont;
|
| - VisitBinop<Int64BinopMatcher>(this, node, kPPC_Add, kInt16Imm, &cont);
|
| + VisitBinop<Int64BinopMatcher>(this, node, kPPC_Add64, kInt16Imm, &cont);
|
| }
|
|
|
|
|
| @@ -1698,7 +1698,7 @@ void VisitWordCompareZero(InstructionSelector* selector, Node* user,
|
| #if V8_TARGET_ARCH_PPC64
|
| case IrOpcode::kInt64AddWithOverflow:
|
| cont->OverwriteAndNegateIfEqual(kOverflow);
|
| - return VisitBinop<Int64BinopMatcher>(selector, node, kPPC_Add,
|
| + return VisitBinop<Int64BinopMatcher>(selector, node, kPPC_Add64,
|
| kInt16Imm, cont);
|
| case IrOpcode::kInt64SubWithOverflow:
|
| cont->OverwriteAndNegateIfEqual(kOverflow);
|
|
|