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

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: update on store and some optimization on load Created 4 years, 6 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 929 matching lines...) Expand 10 before | Expand all | Expand 10 after
940 #endif 940 #endif
941 941
942 942
943 void InstructionSelector::VisitWord32ReverseBits(Node* node) { UNREACHABLE(); } 943 void InstructionSelector::VisitWord32ReverseBits(Node* node) { UNREACHABLE(); }
944 944
945 945
946 #if V8_TARGET_ARCH_PPC64 946 #if V8_TARGET_ARCH_PPC64
947 void InstructionSelector::VisitWord64ReverseBits(Node* node) { UNREACHABLE(); } 947 void InstructionSelector::VisitWord64ReverseBits(Node* node) { UNREACHABLE(); }
948 #endif 948 #endif
949 949
950 void InstructionSelector::VisitWord64ReverseBytes(Node* node) { UNREACHABLE(); }
951
952 void InstructionSelector::VisitWord32ReverseBytes(Node* node) { UNREACHABLE(); }
953
954 void InstructionSelector::VisitWord16ReverseBytes(Node* node) { UNREACHABLE(); }
950 955
951 void InstructionSelector::VisitInt32Add(Node* node) { 956 void InstructionSelector::VisitInt32Add(Node* node) {
952 VisitBinop<Int32BinopMatcher>(this, node, kPPC_Add, kInt16Imm); 957 VisitBinop<Int32BinopMatcher>(this, node, kPPC_Add, kInt16Imm);
953 } 958 }
954 959
955 960
956 #if V8_TARGET_ARCH_PPC64 961 #if V8_TARGET_ARCH_PPC64
957 void InstructionSelector::VisitInt64Add(Node* node) { 962 void InstructionSelector::VisitInt64Add(Node* node) {
958 VisitBinop<Int64BinopMatcher>(this, node, kPPC_Add, kInt16Imm); 963 VisitBinop<Int64BinopMatcher>(this, node, kPPC_Add, kInt16Imm);
959 } 964 }
(...skipping 1042 matching lines...) Expand 10 before | Expand all | Expand 10 after
2002 // static 2007 // static
2003 MachineOperatorBuilder::AlignmentRequirements 2008 MachineOperatorBuilder::AlignmentRequirements
2004 InstructionSelector::AlignmentRequirements() { 2009 InstructionSelector::AlignmentRequirements() {
2005 return MachineOperatorBuilder::AlignmentRequirements:: 2010 return MachineOperatorBuilder::AlignmentRequirements::
2006 FullUnalignedAccessSupport(); 2011 FullUnalignedAccessSupport();
2007 } 2012 }
2008 2013
2009 } // namespace compiler 2014 } // namespace compiler
2010 } // namespace internal 2015 } // namespace internal
2011 } // namespace v8 2016 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698