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

Side by Side Diff: src/compiler/s390/instruction-selector-s390.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
« no previous file with comments | « src/compiler/ppc/instruction-selector-ppc.cc ('k') | src/compiler/verifier.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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/base/adapters.h" 5 #include "src/base/adapters.h"
6 #include "src/compiler/instruction-selector-impl.h" 6 #include "src/compiler/instruction-selector-impl.h"
7 #include "src/compiler/node-matchers.h" 7 #include "src/compiler/node-matchers.h"
8 #include "src/compiler/node-properties.h" 8 #include "src/compiler/node-properties.h"
9 #include "src/s390/frames-s390.h" 9 #include "src/s390/frames-s390.h"
10 10
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after
433 g.GetEffectiveAddressMemoryOperand(node, inputs, &input_count); 433 g.GetEffectiveAddressMemoryOperand(node, inputs, &input_count);
434 InstructionCode code = 434 InstructionCode code =
435 opcode | AddressingModeField::encode(addressing_mode); 435 opcode | AddressingModeField::encode(addressing_mode);
436 InstructionOperand value_operand = g.UseRegister(value); 436 InstructionOperand value_operand = g.UseRegister(value);
437 inputs[input_count++] = value_operand; 437 inputs[input_count++] = value_operand;
438 Emit(code, 0, static_cast<InstructionOperand*>(nullptr), input_count, 438 Emit(code, 0, static_cast<InstructionOperand*>(nullptr), input_count,
439 inputs); 439 inputs);
440 } 440 }
441 } 441 }
442 442
443 void InstructionSelector::VisitProtectedStore(Node* node) {
444 // TODO(eholk)
445 UNIMPLEMENTED();
446 }
447
443 // Architecture supports unaligned access, therefore VisitLoad is used instead 448 // Architecture supports unaligned access, therefore VisitLoad is used instead
444 void InstructionSelector::VisitUnalignedLoad(Node* node) { UNREACHABLE(); } 449 void InstructionSelector::VisitUnalignedLoad(Node* node) { UNREACHABLE(); }
445 450
446 // Architecture supports unaligned access, therefore VisitStore is used instead 451 // Architecture supports unaligned access, therefore VisitStore is used instead
447 void InstructionSelector::VisitUnalignedStore(Node* node) { UNREACHABLE(); } 452 void InstructionSelector::VisitUnalignedStore(Node* node) { UNREACHABLE(); }
448 453
449 void InstructionSelector::VisitCheckedLoad(Node* node) { 454 void InstructionSelector::VisitCheckedLoad(Node* node) {
450 CheckedLoadRepresentation load_rep = CheckedLoadRepresentationOf(node->op()); 455 CheckedLoadRepresentation load_rep = CheckedLoadRepresentationOf(node->op());
451 S390OperandGenerator g(this); 456 S390OperandGenerator g(this);
452 Node* const base = node->InputAt(0); 457 Node* const base = node->InputAt(0);
(...skipping 1610 matching lines...) Expand 10 before | Expand all | Expand 10 after
2063 // static 2068 // static
2064 MachineOperatorBuilder::AlignmentRequirements 2069 MachineOperatorBuilder::AlignmentRequirements
2065 InstructionSelector::AlignmentRequirements() { 2070 InstructionSelector::AlignmentRequirements() {
2066 return MachineOperatorBuilder::AlignmentRequirements:: 2071 return MachineOperatorBuilder::AlignmentRequirements::
2067 FullUnalignedAccessSupport(); 2072 FullUnalignedAccessSupport();
2068 } 2073 }
2069 2074
2070 } // namespace compiler 2075 } // namespace compiler
2071 } // namespace internal 2076 } // namespace internal
2072 } // namespace v8 2077 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/ppc/instruction-selector-ppc.cc ('k') | src/compiler/verifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698