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

Side by Side Diff: src/compiler/arm64/instruction-selector-arm64.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/compiler/instruction-selector-impl.h" 5 #include "src/compiler/instruction-selector-impl.h"
6 #include "src/compiler/node-matchers.h" 6 #include "src/compiler/node-matchers.h"
7 #include "src/compiler/node-properties.h" 7 #include "src/compiler/node-properties.h"
8 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
(...skipping 1142 matching lines...) Expand 10 before | Expand all | Expand 10 after
1153 1153
1154 void InstructionSelector::VisitWord32ReverseBits(Node* node) { 1154 void InstructionSelector::VisitWord32ReverseBits(Node* node) {
1155 VisitRR(this, kArm64Rbit32, node); 1155 VisitRR(this, kArm64Rbit32, node);
1156 } 1156 }
1157 1157
1158 1158
1159 void InstructionSelector::VisitWord64ReverseBits(Node* node) { 1159 void InstructionSelector::VisitWord64ReverseBits(Node* node) {
1160 VisitRR(this, kArm64Rbit, node); 1160 VisitRR(this, kArm64Rbit, node);
1161 } 1161 }
1162 1162
1163 void InstructionSelector::VisitWord64ReverseBytes(Node* node) { UNREACHABLE(); }
1164
1165 void InstructionSelector::VisitWord32ReverseBytes(Node* node) { UNREACHABLE(); }
1166
1167 void InstructionSelector::VisitWord16ReverseBytes(Node* node) { UNREACHABLE(); }
1163 1168
1164 void InstructionSelector::VisitWord32Popcnt(Node* node) { UNREACHABLE(); } 1169 void InstructionSelector::VisitWord32Popcnt(Node* node) { UNREACHABLE(); }
1165 1170
1166 1171
1167 void InstructionSelector::VisitWord64Popcnt(Node* node) { UNREACHABLE(); } 1172 void InstructionSelector::VisitWord64Popcnt(Node* node) { UNREACHABLE(); }
1168 1173
1169 1174
1170 void InstructionSelector::VisitInt32Add(Node* node) { 1175 void InstructionSelector::VisitInt32Add(Node* node) {
1171 Arm64OperandGenerator g(this); 1176 Arm64OperandGenerator g(this);
1172 Int32BinopMatcher m(node); 1177 Int32BinopMatcher m(node);
(...skipping 1550 matching lines...) Expand 10 before | Expand all | Expand 10 after
2723 // static 2728 // static
2724 MachineOperatorBuilder::AlignmentRequirements 2729 MachineOperatorBuilder::AlignmentRequirements
2725 InstructionSelector::AlignmentRequirements() { 2730 InstructionSelector::AlignmentRequirements() {
2726 return MachineOperatorBuilder::AlignmentRequirements:: 2731 return MachineOperatorBuilder::AlignmentRequirements::
2727 FullUnalignedAccessSupport(); 2732 FullUnalignedAccessSupport();
2728 } 2733 }
2729 2734
2730 } // namespace compiler 2735 } // namespace compiler
2731 } // namespace internal 2736 } // namespace internal
2732 } // namespace v8 2737 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698