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 1671 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1682 VisitRR(this, kArm64Float32Abs, node); | 1682 VisitRR(this, kArm64Float32Abs, node); |
1683 } | 1683 } |
1684 | 1684 |
1685 | 1685 |
1686 void InstructionSelector::VisitFloat64Abs(Node* node) { | 1686 void InstructionSelector::VisitFloat64Abs(Node* node) { |
1687 VisitRR(this, kArm64Float64Abs, node); | 1687 VisitRR(this, kArm64Float64Abs, node); |
1688 } | 1688 } |
1689 | 1689 |
1690 void InstructionSelector::VisitFloat64Log(Node* node) { | 1690 void InstructionSelector::VisitFloat64Log(Node* node) { |
1691 Arm64OperandGenerator g(this); | 1691 Arm64OperandGenerator g(this); |
1692 Emit(kArm64Float64Log, g.DefineAsFixed(node, d0), | 1692 Emit(kIeee754Float64Log, g.DefineAsFixed(node, d0), |
1693 g.UseFixed(node->InputAt(0), d0)) | 1693 g.UseFixed(node->InputAt(0), d0)) |
1694 ->MarkAsCall(); | 1694 ->MarkAsCall(); |
1695 } | 1695 } |
1696 | 1696 |
1697 void InstructionSelector::VisitFloat32Sqrt(Node* node) { | 1697 void InstructionSelector::VisitFloat32Sqrt(Node* node) { |
1698 VisitRR(this, kArm64Float32Sqrt, node); | 1698 VisitRR(this, kArm64Float32Sqrt, node); |
1699 } | 1699 } |
1700 | 1700 |
1701 | 1701 |
1702 void InstructionSelector::VisitFloat64Sqrt(Node* node) { | 1702 void InstructionSelector::VisitFloat64Sqrt(Node* node) { |
(...skipping 774 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2477 // static | 2477 // static |
2478 MachineOperatorBuilder::AlignmentRequirements | 2478 MachineOperatorBuilder::AlignmentRequirements |
2479 InstructionSelector::AlignmentRequirements() { | 2479 InstructionSelector::AlignmentRequirements() { |
2480 return MachineOperatorBuilder::AlignmentRequirements:: | 2480 return MachineOperatorBuilder::AlignmentRequirements:: |
2481 FullUnalignedAccessSupport(); | 2481 FullUnalignedAccessSupport(); |
2482 } | 2482 } |
2483 | 2483 |
2484 } // namespace compiler | 2484 } // namespace compiler |
2485 } // namespace internal | 2485 } // namespace internal |
2486 } // namespace v8 | 2486 } // namespace v8 |
OLD | NEW |