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/compiler/instruction-selector-impl.h" | 5 #include "src/compiler/instruction-selector-impl.h" |
6 #include "src/compiler/node-matchers.h" | 6 #include "src/compiler/node-matchers.h" |
7 #include "src/compiler/node-properties.h" | 7 #include "src/compiler/node-properties.h" |
8 | 8 |
9 namespace v8 { | 9 namespace v8 { |
10 namespace internal { | 10 namespace internal { |
(...skipping 1465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1476 void InstructionSelector::VisitFloat32RoundDown(Node* node) { | 1476 void InstructionSelector::VisitFloat32RoundDown(Node* node) { |
1477 VisitRR(this, kArm64Float32RoundDown, node); | 1477 VisitRR(this, kArm64Float32RoundDown, node); |
1478 } | 1478 } |
1479 | 1479 |
1480 | 1480 |
1481 void InstructionSelector::VisitFloat64RoundDown(Node* node) { | 1481 void InstructionSelector::VisitFloat64RoundDown(Node* node) { |
1482 VisitRR(this, kArm64Float64RoundDown, node); | 1482 VisitRR(this, kArm64Float64RoundDown, node); |
1483 } | 1483 } |
1484 | 1484 |
1485 | 1485 |
| 1486 void InstructionSelector::VisitFloat32RoundUp(Node* node) { |
| 1487 VisitRR(this, kArm64Float32RoundUp, node); |
| 1488 } |
| 1489 |
| 1490 |
1486 void InstructionSelector::VisitFloat64RoundUp(Node* node) { | 1491 void InstructionSelector::VisitFloat64RoundUp(Node* node) { |
1487 VisitRR(this, kArm64Float64RoundUp, node); | 1492 VisitRR(this, kArm64Float64RoundUp, node); |
1488 } | 1493 } |
1489 | 1494 |
1490 | 1495 |
1491 void InstructionSelector::VisitFloat64RoundTruncate(Node* node) { | 1496 void InstructionSelector::VisitFloat64RoundTruncate(Node* node) { |
1492 VisitRR(this, kArm64Float64RoundTruncate, node); | 1497 VisitRR(this, kArm64Float64RoundTruncate, node); |
1493 } | 1498 } |
1494 | 1499 |
1495 | 1500 |
(...skipping 570 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2066 | 2071 |
2067 // static | 2072 // static |
2068 MachineOperatorBuilder::Flags | 2073 MachineOperatorBuilder::Flags |
2069 InstructionSelector::SupportedMachineOperatorFlags() { | 2074 InstructionSelector::SupportedMachineOperatorFlags() { |
2070 return MachineOperatorBuilder::kFloat32Max | | 2075 return MachineOperatorBuilder::kFloat32Max | |
2071 MachineOperatorBuilder::kFloat32Min | | 2076 MachineOperatorBuilder::kFloat32Min | |
2072 MachineOperatorBuilder::kFloat32RoundDown | | 2077 MachineOperatorBuilder::kFloat32RoundDown | |
2073 MachineOperatorBuilder::kFloat64Max | | 2078 MachineOperatorBuilder::kFloat64Max | |
2074 MachineOperatorBuilder::kFloat64Min | | 2079 MachineOperatorBuilder::kFloat64Min | |
2075 MachineOperatorBuilder::kFloat64RoundDown | | 2080 MachineOperatorBuilder::kFloat64RoundDown | |
| 2081 MachineOperatorBuilder::kFloat32RoundUp | |
2076 MachineOperatorBuilder::kFloat64RoundUp | | 2082 MachineOperatorBuilder::kFloat64RoundUp | |
2077 MachineOperatorBuilder::kFloat64RoundTruncate | | 2083 MachineOperatorBuilder::kFloat64RoundTruncate | |
2078 MachineOperatorBuilder::kFloat64RoundTiesAway | | 2084 MachineOperatorBuilder::kFloat64RoundTiesAway | |
2079 MachineOperatorBuilder::kFloat64RoundTiesEven | | 2085 MachineOperatorBuilder::kFloat64RoundTiesEven | |
2080 MachineOperatorBuilder::kWord32ShiftIsSafe | | 2086 MachineOperatorBuilder::kWord32ShiftIsSafe | |
2081 MachineOperatorBuilder::kInt32DivIsSafe | | 2087 MachineOperatorBuilder::kInt32DivIsSafe | |
2082 MachineOperatorBuilder::kUint32DivIsSafe; | 2088 MachineOperatorBuilder::kUint32DivIsSafe; |
2083 } | 2089 } |
2084 | 2090 |
2085 } // namespace compiler | 2091 } // namespace compiler |
2086 } // namespace internal | 2092 } // namespace internal |
2087 } // namespace v8 | 2093 } // namespace v8 |
OLD | NEW |