| 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 1051 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1062 | 1062 |
| 1063 | 1063 |
| 1064 void InstructionSelector::VisitFloat64Mod(Node* node) { | 1064 void InstructionSelector::VisitFloat64Mod(Node* node) { |
| 1065 Arm64OperandGenerator g(this); | 1065 Arm64OperandGenerator g(this); |
| 1066 Emit(kArm64Float64Mod, g.DefineAsFixed(node, d0), | 1066 Emit(kArm64Float64Mod, g.DefineAsFixed(node, d0), |
| 1067 g.UseFixed(node->InputAt(0), d0), | 1067 g.UseFixed(node->InputAt(0), d0), |
| 1068 g.UseFixed(node->InputAt(1), d1))->MarkAsCall(); | 1068 g.UseFixed(node->InputAt(1), d1))->MarkAsCall(); |
| 1069 } | 1069 } |
| 1070 | 1070 |
| 1071 | 1071 |
| 1072 void InstructionSelector::VisitFloat64Max(Node* node) { UNREACHABLE(); } |
| 1073 |
| 1074 |
| 1075 void InstructionSelector::VisitFloat64Min(Node* node) { UNREACHABLE(); } |
| 1076 |
| 1077 |
| 1072 void InstructionSelector::VisitFloat64Sqrt(Node* node) { | 1078 void InstructionSelector::VisitFloat64Sqrt(Node* node) { |
| 1073 VisitRRFloat64(this, kArm64Float64Sqrt, node); | 1079 VisitRRFloat64(this, kArm64Float64Sqrt, node); |
| 1074 } | 1080 } |
| 1075 | 1081 |
| 1076 | 1082 |
| 1077 void InstructionSelector::VisitFloat64RoundDown(Node* node) { | 1083 void InstructionSelector::VisitFloat64RoundDown(Node* node) { |
| 1078 VisitRRFloat64(this, kArm64Float64RoundDown, node); | 1084 VisitRRFloat64(this, kArm64Float64RoundDown, node); |
| 1079 } | 1085 } |
| 1080 | 1086 |
| 1081 | 1087 |
| (...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1626 MachineOperatorBuilder::kFloat64RoundTruncate | | 1632 MachineOperatorBuilder::kFloat64RoundTruncate | |
| 1627 MachineOperatorBuilder::kFloat64RoundTiesAway | | 1633 MachineOperatorBuilder::kFloat64RoundTiesAway | |
| 1628 MachineOperatorBuilder::kWord32ShiftIsSafe | | 1634 MachineOperatorBuilder::kWord32ShiftIsSafe | |
| 1629 MachineOperatorBuilder::kInt32DivIsSafe | | 1635 MachineOperatorBuilder::kInt32DivIsSafe | |
| 1630 MachineOperatorBuilder::kUint32DivIsSafe; | 1636 MachineOperatorBuilder::kUint32DivIsSafe; |
| 1631 } | 1637 } |
| 1632 | 1638 |
| 1633 } // namespace compiler | 1639 } // namespace compiler |
| 1634 } // namespace internal | 1640 } // namespace internal |
| 1635 } // namespace v8 | 1641 } // namespace v8 |
| OLD | NEW |