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 1259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1270 } | 1270 } |
1271 | 1271 |
1272 void InstructionSelector::VisitFloat32RoundTiesEven(Node* node) { | 1272 void InstructionSelector::VisitFloat32RoundTiesEven(Node* node) { |
1273 UNREACHABLE(); | 1273 UNREACHABLE(); |
1274 } | 1274 } |
1275 | 1275 |
1276 void InstructionSelector::VisitFloat64RoundTiesEven(Node* node) { | 1276 void InstructionSelector::VisitFloat64RoundTiesEven(Node* node) { |
1277 UNREACHABLE(); | 1277 UNREACHABLE(); |
1278 } | 1278 } |
1279 | 1279 |
1280 void InstructionSelector::VisitFloat32Neg(Node* node) { UNREACHABLE(); } | 1280 void InstructionSelector::VisitFloat32Neg(Node* node) { |
| 1281 VisitRR(this, kS390_NegFloat, node); |
| 1282 } |
1281 | 1283 |
1282 void InstructionSelector::VisitFloat64Neg(Node* node) { UNREACHABLE(); } | 1284 void InstructionSelector::VisitFloat64Neg(Node* node) { |
| 1285 VisitRR(this, kS390_NegDouble, node); |
| 1286 } |
1283 | 1287 |
1284 void InstructionSelector::VisitInt32AddWithOverflow(Node* node) { | 1288 void InstructionSelector::VisitInt32AddWithOverflow(Node* node) { |
1285 if (Node* ovf = NodeProperties::FindProjection(node, 1)) { | 1289 if (Node* ovf = NodeProperties::FindProjection(node, 1)) { |
1286 FlagsContinuation cont = FlagsContinuation::ForSet(kOverflow, ovf); | 1290 FlagsContinuation cont = FlagsContinuation::ForSet(kOverflow, ovf); |
1287 return VisitBinop<Int32BinopMatcher>(this, node, kS390_AddWithOverflow32, | 1291 return VisitBinop<Int32BinopMatcher>(this, node, kS390_AddWithOverflow32, |
1288 kInt16Imm, &cont); | 1292 kInt16Imm, &cont); |
1289 } | 1293 } |
1290 FlagsContinuation cont; | 1294 FlagsContinuation cont; |
1291 VisitBinop<Int32BinopMatcher>(this, node, kS390_AddWithOverflow32, kInt16Imm, | 1295 VisitBinop<Int32BinopMatcher>(this, node, kS390_AddWithOverflow32, kInt16Imm, |
1292 &cont); | 1296 &cont); |
(...skipping 592 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1885 // static | 1889 // static |
1886 MachineOperatorBuilder::AlignmentRequirements | 1890 MachineOperatorBuilder::AlignmentRequirements |
1887 InstructionSelector::AlignmentRequirements() { | 1891 InstructionSelector::AlignmentRequirements() { |
1888 return MachineOperatorBuilder::AlignmentRequirements:: | 1892 return MachineOperatorBuilder::AlignmentRequirements:: |
1889 FullUnalignedAccessSupport(); | 1893 FullUnalignedAccessSupport(); |
1890 } | 1894 } |
1891 | 1895 |
1892 } // namespace compiler | 1896 } // namespace compiler |
1893 } // namespace internal | 1897 } // namespace internal |
1894 } // namespace v8 | 1898 } // namespace v8 |
OLD | NEW |