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/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/ppc/frames-ppc.h" | 9 #include "src/ppc/frames-ppc.h" |
10 | 10 |
(...skipping 941 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
952 #endif | 952 #endif |
953 | 953 |
954 | 954 |
955 void InstructionSelector::VisitWord32ReverseBits(Node* node) { UNREACHABLE(); } | 955 void InstructionSelector::VisitWord32ReverseBits(Node* node) { UNREACHABLE(); } |
956 | 956 |
957 | 957 |
958 #if V8_TARGET_ARCH_PPC64 | 958 #if V8_TARGET_ARCH_PPC64 |
959 void InstructionSelector::VisitWord64ReverseBits(Node* node) { UNREACHABLE(); } | 959 void InstructionSelector::VisitWord64ReverseBits(Node* node) { UNREACHABLE(); } |
960 #endif | 960 #endif |
961 | 961 |
| 962 void InstructionSelector::VisitWord64ReverseBytes(Node* node) { UNREACHABLE(); } |
| 963 |
| 964 void InstructionSelector::VisitWord32ReverseBytes(Node* node) { UNREACHABLE(); } |
962 | 965 |
963 void InstructionSelector::VisitInt32Add(Node* node) { | 966 void InstructionSelector::VisitInt32Add(Node* node) { |
964 VisitBinop<Int32BinopMatcher>(this, node, kPPC_Add, kInt16Imm); | 967 VisitBinop<Int32BinopMatcher>(this, node, kPPC_Add, kInt16Imm); |
965 } | 968 } |
966 | 969 |
967 | 970 |
968 #if V8_TARGET_ARCH_PPC64 | 971 #if V8_TARGET_ARCH_PPC64 |
969 void InstructionSelector::VisitInt64Add(Node* node) { | 972 void InstructionSelector::VisitInt64Add(Node* node) { |
970 VisitBinop<Int64BinopMatcher>(this, node, kPPC_Add, kInt16Imm); | 973 VisitBinop<Int64BinopMatcher>(this, node, kPPC_Add, kInt16Imm); |
971 } | 974 } |
(...skipping 1095 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2067 // static | 2070 // static |
2068 MachineOperatorBuilder::AlignmentRequirements | 2071 MachineOperatorBuilder::AlignmentRequirements |
2069 InstructionSelector::AlignmentRequirements() { | 2072 InstructionSelector::AlignmentRequirements() { |
2070 return MachineOperatorBuilder::AlignmentRequirements:: | 2073 return MachineOperatorBuilder::AlignmentRequirements:: |
2071 FullUnalignedAccessSupport(); | 2074 FullUnalignedAccessSupport(); |
2072 } | 2075 } |
2073 | 2076 |
2074 } // namespace compiler | 2077 } // namespace compiler |
2075 } // namespace internal | 2078 } // namespace internal |
2076 } // namespace v8 | 2079 } // namespace v8 |
OLD | NEW |