| 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 690 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 701 } else { | 701 } else { |
| 702 input_count = 3; | 702 input_count = 3; |
| 703 inputs[2] = g.UseRegister(index); | 703 inputs[2] = g.UseRegister(index); |
| 704 opcode |= AddressingModeField::encode(kMode_MRR); | 704 opcode |= AddressingModeField::encode(kMode_MRR); |
| 705 } | 705 } |
| 706 | 706 |
| 707 Emit(opcode, 0, nullptr, input_count, inputs); | 707 Emit(opcode, 0, nullptr, input_count, inputs); |
| 708 } | 708 } |
| 709 } | 709 } |
| 710 | 710 |
| 711 void InstructionSelector::VisitProtectedStore(Node* node) { |
| 712 // TODO(eholk) |
| 713 UNIMPLEMENTED(); |
| 714 } |
| 715 |
| 711 // Architecture supports unaligned access, therefore VisitLoad is used instead | 716 // Architecture supports unaligned access, therefore VisitLoad is used instead |
| 712 void InstructionSelector::VisitUnalignedLoad(Node* node) { UNREACHABLE(); } | 717 void InstructionSelector::VisitUnalignedLoad(Node* node) { UNREACHABLE(); } |
| 713 | 718 |
| 714 // Architecture supports unaligned access, therefore VisitStore is used instead | 719 // Architecture supports unaligned access, therefore VisitStore is used instead |
| 715 void InstructionSelector::VisitUnalignedStore(Node* node) { UNREACHABLE(); } | 720 void InstructionSelector::VisitUnalignedStore(Node* node) { UNREACHABLE(); } |
| 716 | 721 |
| 717 void InstructionSelector::VisitCheckedLoad(Node* node) { | 722 void InstructionSelector::VisitCheckedLoad(Node* node) { |
| 718 CheckedLoadRepresentation load_rep = CheckedLoadRepresentationOf(node->op()); | 723 CheckedLoadRepresentation load_rep = CheckedLoadRepresentationOf(node->op()); |
| 719 Arm64OperandGenerator g(this); | 724 Arm64OperandGenerator g(this); |
| 720 Node* const buffer = node->InputAt(0); | 725 Node* const buffer = node->InputAt(0); |
| (...skipping 2184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2905 // static | 2910 // static |
| 2906 MachineOperatorBuilder::AlignmentRequirements | 2911 MachineOperatorBuilder::AlignmentRequirements |
| 2907 InstructionSelector::AlignmentRequirements() { | 2912 InstructionSelector::AlignmentRequirements() { |
| 2908 return MachineOperatorBuilder::AlignmentRequirements:: | 2913 return MachineOperatorBuilder::AlignmentRequirements:: |
| 2909 FullUnalignedAccessSupport(); | 2914 FullUnalignedAccessSupport(); |
| 2910 } | 2915 } |
| 2911 | 2916 |
| 2912 } // namespace compiler | 2917 } // namespace compiler |
| 2913 } // namespace internal | 2918 } // namespace internal |
| 2914 } // namespace v8 | 2919 } // namespace v8 |
| OLD | NEW |