| 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 1226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1237 void InstructionSelector::VisitTruncateFloat32ToInt32(Node* node) { | 1237 void InstructionSelector::VisitTruncateFloat32ToInt32(Node* node) { |
| 1238 VisitRR(this, kArm64Float32ToInt32, node); | 1238 VisitRR(this, kArm64Float32ToInt32, node); |
| 1239 } | 1239 } |
| 1240 | 1240 |
| 1241 | 1241 |
| 1242 void InstructionSelector::VisitChangeFloat64ToInt32(Node* node) { | 1242 void InstructionSelector::VisitChangeFloat64ToInt32(Node* node) { |
| 1243 VisitRR(this, kArm64Float64ToInt32, node); | 1243 VisitRR(this, kArm64Float64ToInt32, node); |
| 1244 } | 1244 } |
| 1245 | 1245 |
| 1246 | 1246 |
| 1247 void InstructionSelector::VisitTruncateFloat32ToUint32(Node* node) { |
| 1248 VisitRR(this, kArm64Float32ToUint32, node); |
| 1249 } |
| 1250 |
| 1251 |
| 1247 void InstructionSelector::VisitChangeFloat64ToUint32(Node* node) { | 1252 void InstructionSelector::VisitChangeFloat64ToUint32(Node* node) { |
| 1248 VisitRR(this, kArm64Float64ToUint32, node); | 1253 VisitRR(this, kArm64Float64ToUint32, node); |
| 1249 } | 1254 } |
| 1250 | 1255 |
| 1251 | 1256 |
| 1252 void InstructionSelector::VisitTryTruncateFloat32ToInt64(Node* node) { | 1257 void InstructionSelector::VisitTryTruncateFloat32ToInt64(Node* node) { |
| 1253 Arm64OperandGenerator g(this); | 1258 Arm64OperandGenerator g(this); |
| 1254 | 1259 |
| 1255 InstructionOperand inputs[] = {g.UseRegister(node->InputAt(0))}; | 1260 InstructionOperand inputs[] = {g.UseRegister(node->InputAt(0))}; |
| 1256 InstructionOperand outputs[2]; | 1261 InstructionOperand outputs[2]; |
| (...skipping 940 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2197 MachineOperatorBuilder::kFloat32RoundTiesEven | | 2202 MachineOperatorBuilder::kFloat32RoundTiesEven | |
| 2198 MachineOperatorBuilder::kFloat64RoundTiesEven | | 2203 MachineOperatorBuilder::kFloat64RoundTiesEven | |
| 2199 MachineOperatorBuilder::kWord32ShiftIsSafe | | 2204 MachineOperatorBuilder::kWord32ShiftIsSafe | |
| 2200 MachineOperatorBuilder::kInt32DivIsSafe | | 2205 MachineOperatorBuilder::kInt32DivIsSafe | |
| 2201 MachineOperatorBuilder::kUint32DivIsSafe; | 2206 MachineOperatorBuilder::kUint32DivIsSafe; |
| 2202 } | 2207 } |
| 2203 | 2208 |
| 2204 } // namespace compiler | 2209 } // namespace compiler |
| 2205 } // namespace internal | 2210 } // namespace internal |
| 2206 } // namespace v8 | 2211 } // namespace v8 |
| OLD | NEW |