| 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/base/adapters.h" | 5 #include "src/base/adapters.h" |
| 6 #include "src/base/bits.h" | 6 #include "src/base/bits.h" |
| 7 #include "src/compiler/instruction-selector-impl.h" | 7 #include "src/compiler/instruction-selector-impl.h" |
| 8 #include "src/compiler/node-matchers.h" | 8 #include "src/compiler/node-matchers.h" |
| 9 #include "src/compiler/node-properties.h" | 9 #include "src/compiler/node-properties.h" |
| 10 | 10 |
| (...skipping 943 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 954 | 954 |
| 955 | 955 |
| 956 void InstructionSelector::VisitWord32Ctz(Node* node) { UNREACHABLE(); } | 956 void InstructionSelector::VisitWord32Ctz(Node* node) { UNREACHABLE(); } |
| 957 | 957 |
| 958 | 958 |
| 959 void InstructionSelector::VisitWord32ReverseBits(Node* node) { | 959 void InstructionSelector::VisitWord32ReverseBits(Node* node) { |
| 960 DCHECK(IsSupported(ARMv7)); | 960 DCHECK(IsSupported(ARMv7)); |
| 961 VisitRR(this, kArmRbit, node); | 961 VisitRR(this, kArmRbit, node); |
| 962 } | 962 } |
| 963 | 963 |
| 964 void InstructionSelector::VisitWord64ReverseBytes(Node* node) { UNREACHABLE(); } |
| 965 |
| 966 void InstructionSelector::VisitWord32ReverseBytes(Node* node) { UNREACHABLE(); } |
| 964 | 967 |
| 965 void InstructionSelector::VisitWord32Popcnt(Node* node) { UNREACHABLE(); } | 968 void InstructionSelector::VisitWord32Popcnt(Node* node) { UNREACHABLE(); } |
| 966 | 969 |
| 967 | 970 |
| 968 void InstructionSelector::VisitInt32Add(Node* node) { | 971 void InstructionSelector::VisitInt32Add(Node* node) { |
| 969 ArmOperandGenerator g(this); | 972 ArmOperandGenerator g(this); |
| 970 Int32BinopMatcher m(node); | 973 Int32BinopMatcher m(node); |
| 971 if (CanCover(node, m.left().node())) { | 974 if (CanCover(node, m.left().node())) { |
| 972 switch (m.left().opcode()) { | 975 switch (m.left().opcode()) { |
| 973 case IrOpcode::kInt32Mul: { | 976 case IrOpcode::kInt32Mul: { |
| (...skipping 1213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2187 // static | 2190 // static |
| 2188 MachineOperatorBuilder::AlignmentRequirements | 2191 MachineOperatorBuilder::AlignmentRequirements |
| 2189 InstructionSelector::AlignmentRequirements() { | 2192 InstructionSelector::AlignmentRequirements() { |
| 2190 return MachineOperatorBuilder::AlignmentRequirements:: | 2193 return MachineOperatorBuilder::AlignmentRequirements:: |
| 2191 FullUnalignedAccessSupport(); | 2194 FullUnalignedAccessSupport(); |
| 2192 } | 2195 } |
| 2193 | 2196 |
| 2194 } // namespace compiler | 2197 } // namespace compiler |
| 2195 } // namespace internal | 2198 } // namespace internal |
| 2196 } // namespace v8 | 2199 } // namespace v8 |
| OLD | NEW |