| 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 1319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1330 VisitRRR(this, kS390_DivDouble, node); | 1330 VisitRRR(this, kS390_DivDouble, node); |
| 1331 } | 1331 } |
| 1332 | 1332 |
| 1333 void InstructionSelector::VisitFloat64Mod(Node* node) { | 1333 void InstructionSelector::VisitFloat64Mod(Node* node) { |
| 1334 S390OperandGenerator g(this); | 1334 S390OperandGenerator g(this); |
| 1335 Emit(kS390_ModDouble, g.DefineAsFixed(node, d1), | 1335 Emit(kS390_ModDouble, g.DefineAsFixed(node, d1), |
| 1336 g.UseFixed(node->InputAt(0), d1), g.UseFixed(node->InputAt(1), d2)) | 1336 g.UseFixed(node->InputAt(0), d1), g.UseFixed(node->InputAt(1), d2)) |
| 1337 ->MarkAsCall(); | 1337 ->MarkAsCall(); |
| 1338 } | 1338 } |
| 1339 | 1339 |
| 1340 void InstructionSelector::VisitFloat32Max(Node* node) { |
| 1341 VisitRRR(this, kS390_MaxFloat, node); |
| 1342 } |
| 1343 |
| 1340 void InstructionSelector::VisitFloat64Max(Node* node) { | 1344 void InstructionSelector::VisitFloat64Max(Node* node) { |
| 1341 VisitRRR(this, kS390_MaxDouble, node); | 1345 VisitRRR(this, kS390_MaxDouble, node); |
| 1342 } | 1346 } |
| 1343 | 1347 |
| 1344 void InstructionSelector::VisitFloat64SilenceNaN(Node* node) { | 1348 void InstructionSelector::VisitFloat64SilenceNaN(Node* node) { |
| 1345 VisitRR(this, kS390_Float64SilenceNaN, node); | 1349 VisitRR(this, kS390_Float64SilenceNaN, node); |
| 1346 } | 1350 } |
| 1347 | 1351 |
| 1352 void InstructionSelector::VisitFloat32Min(Node* node) { |
| 1353 VisitRRR(this, kS390_MinFloat, node); |
| 1354 } |
| 1355 |
| 1348 void InstructionSelector::VisitFloat64Min(Node* node) { | 1356 void InstructionSelector::VisitFloat64Min(Node* node) { |
| 1349 VisitRRR(this, kS390_MinDouble, node); | 1357 VisitRRR(this, kS390_MinDouble, node); |
| 1350 } | 1358 } |
| 1351 | 1359 |
| 1352 void InstructionSelector::VisitFloat32Abs(Node* node) { | 1360 void InstructionSelector::VisitFloat32Abs(Node* node) { |
| 1353 VisitRR(this, kS390_AbsFloat, node); | 1361 VisitRR(this, kS390_AbsFloat, node); |
| 1354 } | 1362 } |
| 1355 | 1363 |
| 1356 void InstructionSelector::VisitFloat64Abs(Node* node) { | 1364 void InstructionSelector::VisitFloat64Abs(Node* node) { |
| 1357 VisitRR(this, kS390_AbsDouble, node); | 1365 VisitRR(this, kS390_AbsDouble, node); |
| (...skipping 660 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2018 // static | 2026 // static |
| 2019 MachineOperatorBuilder::AlignmentRequirements | 2027 MachineOperatorBuilder::AlignmentRequirements |
| 2020 InstructionSelector::AlignmentRequirements() { | 2028 InstructionSelector::AlignmentRequirements() { |
| 2021 return MachineOperatorBuilder::AlignmentRequirements:: | 2029 return MachineOperatorBuilder::AlignmentRequirements:: |
| 2022 FullUnalignedAccessSupport(); | 2030 FullUnalignedAccessSupport(); |
| 2023 } | 2031 } |
| 2024 | 2032 |
| 2025 } // namespace compiler | 2033 } // namespace compiler |
| 2026 } // namespace internal | 2034 } // namespace internal |
| 2027 } // namespace v8 | 2035 } // namespace v8 |
| OLD | NEW |