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

Side by Side Diff: src/compiler/x87/instruction-selector-x87.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/x64/instruction-selector-x64.cc ('k') | src/s390/assembler-s390.h » ('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 678 matching lines...) Expand 10 before | Expand all | Expand 10 after
689 X87OperandGenerator g(this); 689 X87OperandGenerator g(this);
690 Emit(kX87Lzcnt, g.DefineAsRegister(node), g.Use(node->InputAt(0))); 690 Emit(kX87Lzcnt, g.DefineAsRegister(node), g.Use(node->InputAt(0)));
691 } 691 }
692 692
693 693
694 void InstructionSelector::VisitWord32Ctz(Node* node) { UNREACHABLE(); } 694 void InstructionSelector::VisitWord32Ctz(Node* node) { UNREACHABLE(); }
695 695
696 696
697 void InstructionSelector::VisitWord32ReverseBits(Node* node) { UNREACHABLE(); } 697 void InstructionSelector::VisitWord32ReverseBits(Node* node) { UNREACHABLE(); }
698 698
699 void InstructionSelector::VisitWord64ReverseBytes(Node* node) { UNREACHABLE(); }
700
701 void InstructionSelector::VisitWord32ReverseBytes(Node* node) { UNREACHABLE(); }
699 702
700 void InstructionSelector::VisitWord32Popcnt(Node* node) { 703 void InstructionSelector::VisitWord32Popcnt(Node* node) {
701 X87OperandGenerator g(this); 704 X87OperandGenerator g(this);
702 Emit(kX87Popcnt, g.DefineAsRegister(node), g.Use(node->InputAt(0))); 705 Emit(kX87Popcnt, g.DefineAsRegister(node), g.Use(node->InputAt(0)));
703 } 706 }
704 707
705 708
706 void InstructionSelector::VisitInt32Add(Node* node) { 709 void InstructionSelector::VisitInt32Add(Node* node) {
707 X87OperandGenerator g(this); 710 X87OperandGenerator g(this);
708 711
(...skipping 1004 matching lines...) Expand 10 before | Expand all | Expand 10 after
1713 // static 1716 // static
1714 MachineOperatorBuilder::AlignmentRequirements 1717 MachineOperatorBuilder::AlignmentRequirements
1715 InstructionSelector::AlignmentRequirements() { 1718 InstructionSelector::AlignmentRequirements() {
1716 return MachineOperatorBuilder::AlignmentRequirements:: 1719 return MachineOperatorBuilder::AlignmentRequirements::
1717 FullUnalignedAccessSupport(); 1720 FullUnalignedAccessSupport();
1718 } 1721 }
1719 1722
1720 } // namespace compiler 1723 } // namespace compiler
1721 } // namespace internal 1724 } // namespace internal
1722 } // namespace v8 1725 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/x64/instruction-selector-x64.cc ('k') | src/s390/assembler-s390.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698