| OLD | NEW |
| 1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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/s390/frames-s390.h" | 9 #include "src/s390/frames-s390.h" |
| 10 | 10 |
| (...skipping 1217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1228 } | 1228 } |
| 1229 | 1229 |
| 1230 void InstructionSelector::VisitFloat32RoundTiesEven(Node* node) { | 1230 void InstructionSelector::VisitFloat32RoundTiesEven(Node* node) { |
| 1231 UNREACHABLE(); | 1231 UNREACHABLE(); |
| 1232 } | 1232 } |
| 1233 | 1233 |
| 1234 void InstructionSelector::VisitFloat64RoundTiesEven(Node* node) { | 1234 void InstructionSelector::VisitFloat64RoundTiesEven(Node* node) { |
| 1235 UNREACHABLE(); | 1235 UNREACHABLE(); |
| 1236 } | 1236 } |
| 1237 | 1237 |
| 1238 void InstructionSelector::VisitFloat32Neg(Node* node) { UNREACHABLE(); } |
| 1239 |
| 1240 void InstructionSelector::VisitFloat64Neg(Node* node) { UNREACHABLE(); } |
| 1241 |
| 1238 void InstructionSelector::VisitInt32AddWithOverflow(Node* node) { | 1242 void InstructionSelector::VisitInt32AddWithOverflow(Node* node) { |
| 1239 if (Node* ovf = NodeProperties::FindProjection(node, 1)) { | 1243 if (Node* ovf = NodeProperties::FindProjection(node, 1)) { |
| 1240 FlagsContinuation cont = FlagsContinuation::ForSet(kOverflow, ovf); | 1244 FlagsContinuation cont = FlagsContinuation::ForSet(kOverflow, ovf); |
| 1241 return VisitBinop<Int32BinopMatcher>(this, node, kS390_AddWithOverflow32, | 1245 return VisitBinop<Int32BinopMatcher>(this, node, kS390_AddWithOverflow32, |
| 1242 kInt16Imm, &cont); | 1246 kInt16Imm, &cont); |
| 1243 } | 1247 } |
| 1244 FlagsContinuation cont; | 1248 FlagsContinuation cont; |
| 1245 VisitBinop<Int32BinopMatcher>(this, node, kS390_AddWithOverflow32, kInt16Imm, | 1249 VisitBinop<Int32BinopMatcher>(this, node, kS390_AddWithOverflow32, kInt16Imm, |
| 1246 &cont); | 1250 &cont); |
| 1247 } | 1251 } |
| (...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1825 // static | 1829 // static |
| 1826 MachineOperatorBuilder::AlignmentRequirements | 1830 MachineOperatorBuilder::AlignmentRequirements |
| 1827 InstructionSelector::AlignmentRequirements() { | 1831 InstructionSelector::AlignmentRequirements() { |
| 1828 return MachineOperatorBuilder::AlignmentRequirements:: | 1832 return MachineOperatorBuilder::AlignmentRequirements:: |
| 1829 FullUnalignedAccessSupport(); | 1833 FullUnalignedAccessSupport(); |
| 1830 } | 1834 } |
| 1831 | 1835 |
| 1832 } // namespace compiler | 1836 } // namespace compiler |
| 1833 } // namespace internal | 1837 } // namespace internal |
| 1834 } // namespace v8 | 1838 } // namespace v8 |
| OLD | NEW |