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

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: fix typo 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
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 1147 matching lines...) Expand 10 before | Expand all | Expand 10 after
1158 1158
1159 void InstructionSelector::VisitWord32ReverseBits(Node* node) { 1159 void InstructionSelector::VisitWord32ReverseBits(Node* node) {
1160 VisitRR(this, kArm64Rbit32, node); 1160 VisitRR(this, kArm64Rbit32, node);
1161 } 1161 }
1162 1162
1163 1163
1164 void InstructionSelector::VisitWord64ReverseBits(Node* node) { 1164 void InstructionSelector::VisitWord64ReverseBits(Node* node) {
1165 VisitRR(this, kArm64Rbit, node); 1165 VisitRR(this, kArm64Rbit, node);
1166 } 1166 }
1167 1167
1168 void InstructionSelector::VisitWord64ReverseBytes(Node* node) { UNREACHABLE(); }
1169
1170 void InstructionSelector::VisitWord32ReverseBytes(Node* node) { UNREACHABLE(); }
1168 1171
1169 void InstructionSelector::VisitWord32Popcnt(Node* node) { UNREACHABLE(); } 1172 void InstructionSelector::VisitWord32Popcnt(Node* node) { UNREACHABLE(); }
1170 1173
1171 1174
1172 void InstructionSelector::VisitWord64Popcnt(Node* node) { UNREACHABLE(); } 1175 void InstructionSelector::VisitWord64Popcnt(Node* node) { UNREACHABLE(); }
1173 1176
1174 1177
1175 void InstructionSelector::VisitInt32Add(Node* node) { 1178 void InstructionSelector::VisitInt32Add(Node* node) {
1176 Arm64OperandGenerator g(this); 1179 Arm64OperandGenerator g(this);
1177 Int32BinopMatcher m(node); 1180 Int32BinopMatcher m(node);
(...skipping 1536 matching lines...) Expand 10 before | Expand all | Expand 10 after
2714 // static 2717 // static
2715 MachineOperatorBuilder::AlignmentRequirements 2718 MachineOperatorBuilder::AlignmentRequirements
2716 InstructionSelector::AlignmentRequirements() { 2719 InstructionSelector::AlignmentRequirements() {
2717 return MachineOperatorBuilder::AlignmentRequirements:: 2720 return MachineOperatorBuilder::AlignmentRequirements::
2718 FullUnalignedAccessSupport(); 2721 FullUnalignedAccessSupport();
2719 } 2722 }
2720 2723
2721 } // namespace compiler 2724 } // namespace compiler
2722 } // namespace internal 2725 } // namespace internal
2723 } // namespace v8 2726 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698