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

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: 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/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 666 matching lines...) Expand 10 before | Expand all | Expand 10 after
677 X87OperandGenerator g(this); 677 X87OperandGenerator g(this);
678 Emit(kX87Lzcnt, g.DefineAsRegister(node), g.Use(node->InputAt(0))); 678 Emit(kX87Lzcnt, g.DefineAsRegister(node), g.Use(node->InputAt(0)));
679 } 679 }
680 680
681 681
682 void InstructionSelector::VisitWord32Ctz(Node* node) { UNREACHABLE(); } 682 void InstructionSelector::VisitWord32Ctz(Node* node) { UNREACHABLE(); }
683 683
684 684
685 void InstructionSelector::VisitWord32ReverseBits(Node* node) { UNREACHABLE(); } 685 void InstructionSelector::VisitWord32ReverseBits(Node* node) { UNREACHABLE(); }
686 686
687 void InstructionSelector::VisitWord64ReverseBytes(Node* node) { UNREACHABLE(); }
688
689 void InstructionSelector::VisitWord32ReverseBytes(Node* node) { UNREACHABLE(); }
690
691 void InstructionSelector::VisitWord16ReverseBytes(Node* node) { UNREACHABLE(); }
687 692
688 void InstructionSelector::VisitWord32Popcnt(Node* node) { 693 void InstructionSelector::VisitWord32Popcnt(Node* node) {
689 X87OperandGenerator g(this); 694 X87OperandGenerator g(this);
690 Emit(kX87Popcnt, g.DefineAsRegister(node), g.Use(node->InputAt(0))); 695 Emit(kX87Popcnt, g.DefineAsRegister(node), g.Use(node->InputAt(0)));
691 } 696 }
692 697
693 698
694 void InstructionSelector::VisitInt32Add(Node* node) { 699 void InstructionSelector::VisitInt32Add(Node* node) {
695 X87OperandGenerator g(this); 700 X87OperandGenerator g(this);
696 701
(...skipping 997 matching lines...) Expand 10 before | Expand all | Expand 10 after
1694 // static 1699 // static
1695 MachineOperatorBuilder::AlignmentRequirements 1700 MachineOperatorBuilder::AlignmentRequirements
1696 InstructionSelector::AlignmentRequirements() { 1701 InstructionSelector::AlignmentRequirements() {
1697 return MachineOperatorBuilder::AlignmentRequirements:: 1702 return MachineOperatorBuilder::AlignmentRequirements::
1698 FullUnalignedAccessSupport(); 1703 FullUnalignedAccessSupport();
1699 } 1704 }
1700 1705
1701 } // namespace compiler 1706 } // namespace compiler
1702 } // namespace internal 1707 } // namespace internal
1703 } // namespace v8 1708 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698