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 1219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1230 void InstructionSelector::VisitChangeFloat64ToInt32(Node* node) { | 1230 void InstructionSelector::VisitChangeFloat64ToInt32(Node* node) { |
1231 VisitRR(this, kArm64Float64ToInt32, node); | 1231 VisitRR(this, kArm64Float64ToInt32, node); |
1232 } | 1232 } |
1233 | 1233 |
1234 | 1234 |
1235 void InstructionSelector::VisitChangeFloat64ToUint32(Node* node) { | 1235 void InstructionSelector::VisitChangeFloat64ToUint32(Node* node) { |
1236 VisitRR(this, kArm64Float64ToUint32, node); | 1236 VisitRR(this, kArm64Float64ToUint32, node); |
1237 } | 1237 } |
1238 | 1238 |
1239 | 1239 |
| 1240 void InstructionSelector::VisitChangeFloat64ToInt64(Node* node) { |
| 1241 VisitRR(this, kArm64Float64ToInt64, node); |
| 1242 } |
| 1243 |
| 1244 |
1240 void InstructionSelector::VisitChangeInt32ToInt64(Node* node) { | 1245 void InstructionSelector::VisitChangeInt32ToInt64(Node* node) { |
1241 VisitRR(this, kArm64Sxtw, node); | 1246 VisitRR(this, kArm64Sxtw, node); |
1242 } | 1247 } |
1243 | 1248 |
1244 | 1249 |
1245 void InstructionSelector::VisitChangeUint32ToUint64(Node* node) { | 1250 void InstructionSelector::VisitChangeUint32ToUint64(Node* node) { |
1246 Arm64OperandGenerator g(this); | 1251 Arm64OperandGenerator g(this); |
1247 Node* value = node->InputAt(0); | 1252 Node* value = node->InputAt(0); |
1248 switch (value->opcode()) { | 1253 switch (value->opcode()) { |
1249 case IrOpcode::kWord32And: | 1254 case IrOpcode::kWord32And: |
(...skipping 811 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2061 MachineOperatorBuilder::kFloat64RoundTiesAway | | 2066 MachineOperatorBuilder::kFloat64RoundTiesAway | |
2062 MachineOperatorBuilder::kFloat64RoundTiesEven | | 2067 MachineOperatorBuilder::kFloat64RoundTiesEven | |
2063 MachineOperatorBuilder::kWord32ShiftIsSafe | | 2068 MachineOperatorBuilder::kWord32ShiftIsSafe | |
2064 MachineOperatorBuilder::kInt32DivIsSafe | | 2069 MachineOperatorBuilder::kInt32DivIsSafe | |
2065 MachineOperatorBuilder::kUint32DivIsSafe; | 2070 MachineOperatorBuilder::kUint32DivIsSafe; |
2066 } | 2071 } |
2067 | 2072 |
2068 } // namespace compiler | 2073 } // namespace compiler |
2069 } // namespace internal | 2074 } // namespace internal |
2070 } // namespace v8 | 2075 } // namespace v8 |
OLD | NEW |