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 1731 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1742 } | 1742 } |
1743 | 1743 |
1744 void InstructionSelector::VisitFloat32Neg(Node* node) { | 1744 void InstructionSelector::VisitFloat32Neg(Node* node) { |
1745 VisitRR(this, kArm64Float32Neg, node); | 1745 VisitRR(this, kArm64Float32Neg, node); |
1746 } | 1746 } |
1747 | 1747 |
1748 void InstructionSelector::VisitFloat64Neg(Node* node) { | 1748 void InstructionSelector::VisitFloat64Neg(Node* node) { |
1749 VisitRR(this, kArm64Float64Neg, node); | 1749 VisitRR(this, kArm64Float64Neg, node); |
1750 } | 1750 } |
1751 | 1751 |
| 1752 void InstructionSelector::VisitFloat64Ieee754Binop(Node* node, |
| 1753 InstructionCode opcode) { |
| 1754 Arm64OperandGenerator g(this); |
| 1755 Emit(opcode, g.DefineAsFixed(node, d0), g.UseFixed(node->InputAt(0), d0), |
| 1756 g.UseFixed(node->InputAt(1), d1)) |
| 1757 ->MarkAsCall(); |
| 1758 } |
| 1759 |
1752 void InstructionSelector::VisitFloat64Ieee754Unop(Node* node, | 1760 void InstructionSelector::VisitFloat64Ieee754Unop(Node* node, |
1753 InstructionCode opcode) { | 1761 InstructionCode opcode) { |
1754 Arm64OperandGenerator g(this); | 1762 Arm64OperandGenerator g(this); |
1755 Emit(opcode, g.DefineAsFixed(node, d0), g.UseFixed(node->InputAt(0), d0)) | 1763 Emit(opcode, g.DefineAsFixed(node, d0), g.UseFixed(node->InputAt(0), d0)) |
1756 ->MarkAsCall(); | 1764 ->MarkAsCall(); |
1757 } | 1765 } |
1758 | 1766 |
1759 void InstructionSelector::EmitPrepareArguments( | 1767 void InstructionSelector::EmitPrepareArguments( |
1760 ZoneVector<PushParameter>* arguments, const CallDescriptor* descriptor, | 1768 ZoneVector<PushParameter>* arguments, const CallDescriptor* descriptor, |
1761 Node* node) { | 1769 Node* node) { |
(...skipping 715 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2477 // static | 2485 // static |
2478 MachineOperatorBuilder::AlignmentRequirements | 2486 MachineOperatorBuilder::AlignmentRequirements |
2479 InstructionSelector::AlignmentRequirements() { | 2487 InstructionSelector::AlignmentRequirements() { |
2480 return MachineOperatorBuilder::AlignmentRequirements:: | 2488 return MachineOperatorBuilder::AlignmentRequirements:: |
2481 FullUnalignedAccessSupport(); | 2489 FullUnalignedAccessSupport(); |
2482 } | 2490 } |
2483 | 2491 |
2484 } // namespace compiler | 2492 } // namespace compiler |
2485 } // namespace internal | 2493 } // namespace internal |
2486 } // namespace v8 | 2494 } // namespace v8 |
OLD | NEW |