| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "src/base/adapters.h" | 5 #include "src/base/adapters.h" |
| 6 #include "src/compiler/instruction-selector-impl.h" | 6 #include "src/compiler/instruction-selector-impl.h" |
| 7 #include "src/compiler/node-matchers.h" | 7 #include "src/compiler/node-matchers.h" |
| 8 #include "src/compiler/node-properties.h" | 8 #include "src/compiler/node-properties.h" |
| 9 #include "src/ppc/frames-ppc.h" | 9 #include "src/ppc/frames-ppc.h" |
| 10 | 10 |
| (...skipping 1408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1419 | 1419 |
| 1420 void InstructionSelector::VisitFloat32RoundTiesEven(Node* node) { | 1420 void InstructionSelector::VisitFloat32RoundTiesEven(Node* node) { |
| 1421 UNREACHABLE(); | 1421 UNREACHABLE(); |
| 1422 } | 1422 } |
| 1423 | 1423 |
| 1424 | 1424 |
| 1425 void InstructionSelector::VisitFloat64RoundTiesEven(Node* node) { | 1425 void InstructionSelector::VisitFloat64RoundTiesEven(Node* node) { |
| 1426 UNREACHABLE(); | 1426 UNREACHABLE(); |
| 1427 } | 1427 } |
| 1428 | 1428 |
| 1429 void InstructionSelector::VisitFloat32Neg(Node* node) { UNREACHABLE(); } | 1429 void InstructionSelector::VisitFloat32Neg(Node* node) { |
| 1430 VisitRR(this, kPPC_NegDouble, node); |
| 1431 } |
| 1430 | 1432 |
| 1431 void InstructionSelector::VisitFloat64Neg(Node* node) { UNREACHABLE(); } | 1433 void InstructionSelector::VisitFloat64Neg(Node* node) { |
| 1434 VisitRR(this, kPPC_NegDouble, node); |
| 1435 } |
| 1432 | 1436 |
| 1433 void InstructionSelector::VisitInt32AddWithOverflow(Node* node) { | 1437 void InstructionSelector::VisitInt32AddWithOverflow(Node* node) { |
| 1434 if (Node* ovf = NodeProperties::FindProjection(node, 1)) { | 1438 if (Node* ovf = NodeProperties::FindProjection(node, 1)) { |
| 1435 FlagsContinuation cont = FlagsContinuation::ForSet(kOverflow, ovf); | 1439 FlagsContinuation cont = FlagsContinuation::ForSet(kOverflow, ovf); |
| 1436 return VisitBinop<Int32BinopMatcher>(this, node, kPPC_AddWithOverflow32, | 1440 return VisitBinop<Int32BinopMatcher>(this, node, kPPC_AddWithOverflow32, |
| 1437 kInt16Imm, &cont); | 1441 kInt16Imm, &cont); |
| 1438 } | 1442 } |
| 1439 FlagsContinuation cont; | 1443 FlagsContinuation cont; |
| 1440 VisitBinop<Int32BinopMatcher>(this, node, kPPC_AddWithOverflow32, kInt16Imm, | 1444 VisitBinop<Int32BinopMatcher>(this, node, kPPC_AddWithOverflow32, kInt16Imm, |
| 1441 &cont); | 1445 &cont); |
| (...skipping 628 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2070 // static | 2074 // static |
| 2071 MachineOperatorBuilder::AlignmentRequirements | 2075 MachineOperatorBuilder::AlignmentRequirements |
| 2072 InstructionSelector::AlignmentRequirements() { | 2076 InstructionSelector::AlignmentRequirements() { |
| 2073 return MachineOperatorBuilder::AlignmentRequirements:: | 2077 return MachineOperatorBuilder::AlignmentRequirements:: |
| 2074 FullUnalignedAccessSupport(); | 2078 FullUnalignedAccessSupport(); |
| 2075 } | 2079 } |
| 2076 | 2080 |
| 2077 } // namespace compiler | 2081 } // namespace compiler |
| 2078 } // namespace internal | 2082 } // namespace internal |
| 2079 } // namespace v8 | 2083 } // namespace v8 |
| OLD | NEW |