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

Side by Side Diff: src/compiler/ia32/instruction-selector-ia32.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 | « src/compiler/arm64/instruction-selector-arm64.cc ('k') | src/compiler/instruction-selector.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/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 9
10 namespace v8 { 10 namespace v8 {
(...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after
731 731
732 732
733 void InstructionSelector::VisitWord32Ctz(Node* node) { 733 void InstructionSelector::VisitWord32Ctz(Node* node) {
734 IA32OperandGenerator g(this); 734 IA32OperandGenerator g(this);
735 Emit(kIA32Tzcnt, g.DefineAsRegister(node), g.Use(node->InputAt(0))); 735 Emit(kIA32Tzcnt, g.DefineAsRegister(node), g.Use(node->InputAt(0)));
736 } 736 }
737 737
738 738
739 void InstructionSelector::VisitWord32ReverseBits(Node* node) { UNREACHABLE(); } 739 void InstructionSelector::VisitWord32ReverseBits(Node* node) { UNREACHABLE(); }
740 740
741 void InstructionSelector::VisitWord64ReverseBytes(Node* node) { UNREACHABLE(); }
742
743 void InstructionSelector::VisitWord32ReverseBytes(Node* node) { UNREACHABLE(); }
741 744
742 void InstructionSelector::VisitWord32Popcnt(Node* node) { 745 void InstructionSelector::VisitWord32Popcnt(Node* node) {
743 IA32OperandGenerator g(this); 746 IA32OperandGenerator g(this);
744 Emit(kIA32Popcnt, g.DefineAsRegister(node), g.Use(node->InputAt(0))); 747 Emit(kIA32Popcnt, g.DefineAsRegister(node), g.Use(node->InputAt(0)));
745 } 748 }
746 749
747 750
748 void InstructionSelector::VisitInt32Add(Node* node) { 751 void InstructionSelector::VisitInt32Add(Node* node) {
749 IA32OperandGenerator g(this); 752 IA32OperandGenerator g(this);
750 753
(...skipping 949 matching lines...) Expand 10 before | Expand all | Expand 10 after
1700 // static 1703 // static
1701 MachineOperatorBuilder::AlignmentRequirements 1704 MachineOperatorBuilder::AlignmentRequirements
1702 InstructionSelector::AlignmentRequirements() { 1705 InstructionSelector::AlignmentRequirements() {
1703 return MachineOperatorBuilder::AlignmentRequirements:: 1706 return MachineOperatorBuilder::AlignmentRequirements::
1704 FullUnalignedAccessSupport(); 1707 FullUnalignedAccessSupport();
1705 } 1708 }
1706 1709
1707 } // namespace compiler 1710 } // namespace compiler
1708 } // namespace internal 1711 } // namespace internal
1709 } // namespace v8 1712 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/arm64/instruction-selector-arm64.cc ('k') | src/compiler/instruction-selector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698