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 1647 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1658 | 1658 |
1659 void InstructionSelector::VisitFloat32Abs(Node* node) { | 1659 void InstructionSelector::VisitFloat32Abs(Node* node) { |
1660 VisitRR(this, kArm64Float32Abs, node); | 1660 VisitRR(this, kArm64Float32Abs, node); |
1661 } | 1661 } |
1662 | 1662 |
1663 | 1663 |
1664 void InstructionSelector::VisitFloat64Abs(Node* node) { | 1664 void InstructionSelector::VisitFloat64Abs(Node* node) { |
1665 VisitRR(this, kArm64Float64Abs, node); | 1665 VisitRR(this, kArm64Float64Abs, node); |
1666 } | 1666 } |
1667 | 1667 |
| 1668 void InstructionSelector::VisitFloat64Log(Node* node) { |
| 1669 Arm64OperandGenerator g(this); |
| 1670 Emit(kArm64Float64Log, g.DefineAsFixed(node, d0), |
| 1671 g.UseFixed(node->InputAt(0), d0)) |
| 1672 ->MarkAsCall(); |
| 1673 } |
1668 | 1674 |
1669 void InstructionSelector::VisitFloat32Sqrt(Node* node) { | 1675 void InstructionSelector::VisitFloat32Sqrt(Node* node) { |
1670 VisitRR(this, kArm64Float32Sqrt, node); | 1676 VisitRR(this, kArm64Float32Sqrt, node); |
1671 } | 1677 } |
1672 | 1678 |
1673 | 1679 |
1674 void InstructionSelector::VisitFloat64Sqrt(Node* node) { | 1680 void InstructionSelector::VisitFloat64Sqrt(Node* node) { |
1675 VisitRR(this, kArm64Float64Sqrt, node); | 1681 VisitRR(this, kArm64Float64Sqrt, node); |
1676 } | 1682 } |
1677 | 1683 |
(...skipping 771 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2449 // static | 2455 // static |
2450 MachineOperatorBuilder::AlignmentRequirements | 2456 MachineOperatorBuilder::AlignmentRequirements |
2451 InstructionSelector::AlignmentRequirements() { | 2457 InstructionSelector::AlignmentRequirements() { |
2452 return MachineOperatorBuilder::AlignmentRequirements:: | 2458 return MachineOperatorBuilder::AlignmentRequirements:: |
2453 FullUnalignedAccessSupport(); | 2459 FullUnalignedAccessSupport(); |
2454 } | 2460 } |
2455 | 2461 |
2456 } // namespace compiler | 2462 } // namespace compiler |
2457 } // namespace internal | 2463 } // namespace internal |
2458 } // namespace v8 | 2464 } // namespace v8 |
OLD | NEW |