| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |