| 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 1224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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) { | 1240 void InstructionSelector::VisitChangeFloat64ToInt64(Node* node) { |
| 1241 VisitRR(this, kArm64Float64ToInt64, node); | 1241 VisitRR(this, kArm64Float64ToInt64, node); |
| 1242 } | 1242 } |
| 1243 | 1243 |
| 1244 | 1244 |
| 1245 void InstructionSelector::VisitTruncateFloat64ToUint64(Node* node) { |
| 1246 VisitRR(this, kArm64Float64ToUint64, node); |
| 1247 } |
| 1248 |
| 1249 |
| 1245 void InstructionSelector::VisitChangeInt32ToInt64(Node* node) { | 1250 void InstructionSelector::VisitChangeInt32ToInt64(Node* node) { |
| 1246 VisitRR(this, kArm64Sxtw, node); | 1251 VisitRR(this, kArm64Sxtw, node); |
| 1247 } | 1252 } |
| 1248 | 1253 |
| 1249 | 1254 |
| 1250 void InstructionSelector::VisitChangeUint32ToUint64(Node* node) { | 1255 void InstructionSelector::VisitChangeUint32ToUint64(Node* node) { |
| 1251 Arm64OperandGenerator g(this); | 1256 Arm64OperandGenerator g(this); |
| 1252 Node* value = node->InputAt(0); | 1257 Node* value = node->InputAt(0); |
| 1253 switch (value->opcode()) { | 1258 switch (value->opcode()) { |
| 1254 case IrOpcode::kWord32And: | 1259 case IrOpcode::kWord32And: |
| (...skipping 812 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2067 MachineOperatorBuilder::kFloat64RoundTiesAway | | 2072 MachineOperatorBuilder::kFloat64RoundTiesAway | |
| 2068 MachineOperatorBuilder::kFloat64RoundTiesEven | | 2073 MachineOperatorBuilder::kFloat64RoundTiesEven | |
| 2069 MachineOperatorBuilder::kWord32ShiftIsSafe | | 2074 MachineOperatorBuilder::kWord32ShiftIsSafe | |
| 2070 MachineOperatorBuilder::kInt32DivIsSafe | | 2075 MachineOperatorBuilder::kInt32DivIsSafe | |
| 2071 MachineOperatorBuilder::kUint32DivIsSafe; | 2076 MachineOperatorBuilder::kUint32DivIsSafe; |
| 2072 } | 2077 } |
| 2073 | 2078 |
| 2074 } // namespace compiler | 2079 } // namespace compiler |
| 2075 } // namespace internal | 2080 } // namespace internal |
| 2076 } // namespace v8 | 2081 } // namespace v8 |
| OLD | NEW |