Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(154)

Side by Side Diff: src/compiler/arm64/instruction-selector-arm64.cc

Issue 2516413003: [wasm] Add ProtectedStore instruction (Closed)
Patch Set: Merging with master Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/compiler/arm/instruction-selector-arm.cc ('k') | src/compiler/ia32/instruction-selector-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698