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

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

Issue 2045943002: [compiler] [wasm] Introduce Word32/64ReverseBytes as TF Optional Opcode (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix according to titzer Created 4 years, 4 months 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/opcodes.h ('k') | src/compiler/s390/code-generator-s390.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 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
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
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
OLDNEW
« no previous file with comments | « src/compiler/opcodes.h ('k') | src/compiler/s390/code-generator-s390.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698