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

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: Use ByteReverse in simulator Created 4 years, 5 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
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 936 matching lines...) Expand 10 before | Expand all | Expand 10 after
947 #endif 947 #endif
948 948
949 949
950 void InstructionSelector::VisitWord32ReverseBits(Node* node) { UNREACHABLE(); } 950 void InstructionSelector::VisitWord32ReverseBits(Node* node) { UNREACHABLE(); }
951 951
952 952
953 #if V8_TARGET_ARCH_PPC64 953 #if V8_TARGET_ARCH_PPC64
954 void InstructionSelector::VisitWord64ReverseBits(Node* node) { UNREACHABLE(); } 954 void InstructionSelector::VisitWord64ReverseBits(Node* node) { UNREACHABLE(); }
955 #endif 955 #endif
956 956
957 void InstructionSelector::VisitWord64ReverseBytes(Node* node) { UNREACHABLE(); }
958
959 void InstructionSelector::VisitWord32ReverseBytes(Node* node) { UNREACHABLE(); }
960
961 void InstructionSelector::VisitWord16ReverseBytes(Node* node) { UNREACHABLE(); }
957 962
958 void InstructionSelector::VisitInt32Add(Node* node) { 963 void InstructionSelector::VisitInt32Add(Node* node) {
959 VisitBinop<Int32BinopMatcher>(this, node, kPPC_Add, kInt16Imm); 964 VisitBinop<Int32BinopMatcher>(this, node, kPPC_Add, kInt16Imm);
960 } 965 }
961 966
962 967
963 #if V8_TARGET_ARCH_PPC64 968 #if V8_TARGET_ARCH_PPC64
964 void InstructionSelector::VisitInt64Add(Node* node) { 969 void InstructionSelector::VisitInt64Add(Node* node) {
965 VisitBinop<Int64BinopMatcher>(this, node, kPPC_Add, kInt16Imm); 970 VisitBinop<Int64BinopMatcher>(this, node, kPPC_Add, kInt16Imm);
966 } 971 }
(...skipping 1096 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

Powered by Google App Engine
This is Rietveld 408576698