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

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: 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/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 1069 matching lines...) Expand 10 before | Expand all | Expand 10 after
1080 1080
1081 void InstructionSelector::VisitWord32ReverseBits(Node* node) { 1081 void InstructionSelector::VisitWord32ReverseBits(Node* node) {
1082 VisitRR(this, kArm64Rbit32, node); 1082 VisitRR(this, kArm64Rbit32, node);
1083 } 1083 }
1084 1084
1085 1085
1086 void InstructionSelector::VisitWord64ReverseBits(Node* node) { 1086 void InstructionSelector::VisitWord64ReverseBits(Node* node) {
1087 VisitRR(this, kArm64Rbit, node); 1087 VisitRR(this, kArm64Rbit, node);
1088 } 1088 }
1089 1089
1090 void InstructionSelector::VisitWord64ReverseBytes(Node* node) { UNREACHABLE(); }
1091
1092 void InstructionSelector::VisitWord32ReverseBytes(Node* node) { UNREACHABLE(); }
1093
1094 void InstructionSelector::VisitWord16ReverseBytes(Node* node) { UNREACHABLE(); }
1090 1095
1091 void InstructionSelector::VisitWord32Popcnt(Node* node) { UNREACHABLE(); } 1096 void InstructionSelector::VisitWord32Popcnt(Node* node) { UNREACHABLE(); }
1092 1097
1093 1098
1094 void InstructionSelector::VisitWord64Popcnt(Node* node) { UNREACHABLE(); } 1099 void InstructionSelector::VisitWord64Popcnt(Node* node) { UNREACHABLE(); }
1095 1100
1096 1101
1097 void InstructionSelector::VisitInt32Add(Node* node) { 1102 void InstructionSelector::VisitInt32Add(Node* node) {
1098 Arm64OperandGenerator g(this); 1103 Arm64OperandGenerator g(this);
1099 Int32BinopMatcher m(node); 1104 Int32BinopMatcher m(node);
(...skipping 1377 matching lines...) Expand 10 before | Expand all | Expand 10 after
2477 // static 2482 // static
2478 MachineOperatorBuilder::AlignmentRequirements 2483 MachineOperatorBuilder::AlignmentRequirements
2479 InstructionSelector::AlignmentRequirements() { 2484 InstructionSelector::AlignmentRequirements() {
2480 return MachineOperatorBuilder::AlignmentRequirements:: 2485 return MachineOperatorBuilder::AlignmentRequirements::
2481 FullUnalignedAccessSupport(); 2486 FullUnalignedAccessSupport();
2482 } 2487 }
2483 2488
2484 } // namespace compiler 2489 } // namespace compiler
2485 } // namespace internal 2490 } // namespace internal
2486 } // namespace v8 2491 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698