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

Side by Side Diff: src/compiler/arm/instruction-selector-arm.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 according to titzer 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
« no previous file with comments | « no previous file | src/compiler/arm64/instruction-selector-arm64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/base/bits.h" 6 #include "src/base/bits.h"
7 #include "src/compiler/instruction-selector-impl.h" 7 #include "src/compiler/instruction-selector-impl.h"
8 #include "src/compiler/node-matchers.h" 8 #include "src/compiler/node-matchers.h"
9 #include "src/compiler/node-properties.h" 9 #include "src/compiler/node-properties.h"
10 10
(...skipping 1064 matching lines...) Expand 10 before | Expand all | Expand 10 after
1075 1075
1076 1076
1077 void InstructionSelector::VisitWord32Ctz(Node* node) { UNREACHABLE(); } 1077 void InstructionSelector::VisitWord32Ctz(Node* node) { UNREACHABLE(); }
1078 1078
1079 1079
1080 void InstructionSelector::VisitWord32ReverseBits(Node* node) { 1080 void InstructionSelector::VisitWord32ReverseBits(Node* node) {
1081 DCHECK(IsSupported(ARMv7)); 1081 DCHECK(IsSupported(ARMv7));
1082 VisitRR(this, kArmRbit, node); 1082 VisitRR(this, kArmRbit, node);
1083 } 1083 }
1084 1084
1085 void InstructionSelector::VisitWord64ReverseBytes(Node* node) { UNREACHABLE(); }
1086
1087 void InstructionSelector::VisitWord32ReverseBytes(Node* node) { UNREACHABLE(); }
1085 1088
1086 void InstructionSelector::VisitWord32Popcnt(Node* node) { UNREACHABLE(); } 1089 void InstructionSelector::VisitWord32Popcnt(Node* node) { UNREACHABLE(); }
1087 1090
1088 1091
1089 void InstructionSelector::VisitInt32Add(Node* node) { 1092 void InstructionSelector::VisitInt32Add(Node* node) {
1090 ArmOperandGenerator g(this); 1093 ArmOperandGenerator g(this);
1091 Int32BinopMatcher m(node); 1094 Int32BinopMatcher m(node);
1092 if (CanCover(node, m.left().node())) { 1095 if (CanCover(node, m.left().node())) {
1093 switch (m.left().opcode()) { 1096 switch (m.left().opcode()) {
1094 case IrOpcode::kInt32Mul: { 1097 case IrOpcode::kInt32Mul: {
(...skipping 1200 matching lines...) Expand 10 before | Expand all | Expand 10 after
2295 Vector<MachineType> req_aligned = Vector<MachineType>::New(2); 2298 Vector<MachineType> req_aligned = Vector<MachineType>::New(2);
2296 req_aligned[0] = MachineType::Float32(); 2299 req_aligned[0] = MachineType::Float32();
2297 req_aligned[1] = MachineType::Float64(); 2300 req_aligned[1] = MachineType::Float64();
2298 return MachineOperatorBuilder::AlignmentRequirements:: 2301 return MachineOperatorBuilder::AlignmentRequirements::
2299 SomeUnalignedAccessUnsupported(req_aligned, req_aligned); 2302 SomeUnalignedAccessUnsupported(req_aligned, req_aligned);
2300 } 2303 }
2301 2304
2302 } // namespace compiler 2305 } // namespace compiler
2303 } // namespace internal 2306 } // namespace internal
2304 } // namespace v8 2307 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/compiler/arm64/instruction-selector-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698