OLD | NEW |
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 715 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
726 | 726 |
727 | 727 |
728 void InstructionSelector::VisitWord32Ctz(Node* node) { | 728 void InstructionSelector::VisitWord32Ctz(Node* node) { |
729 IA32OperandGenerator g(this); | 729 IA32OperandGenerator g(this); |
730 Emit(kIA32Tzcnt, g.DefineAsRegister(node), g.Use(node->InputAt(0))); | 730 Emit(kIA32Tzcnt, g.DefineAsRegister(node), g.Use(node->InputAt(0))); |
731 } | 731 } |
732 | 732 |
733 | 733 |
734 void InstructionSelector::VisitWord32ReverseBits(Node* node) { UNREACHABLE(); } | 734 void InstructionSelector::VisitWord32ReverseBits(Node* node) { UNREACHABLE(); } |
735 | 735 |
| 736 void InstructionSelector::VisitWord64ReverseBytes(Node* node) { UNREACHABLE(); } |
| 737 |
| 738 void InstructionSelector::VisitWord32ReverseBytes(Node* node) { UNREACHABLE(); } |
736 | 739 |
737 void InstructionSelector::VisitWord32Popcnt(Node* node) { | 740 void InstructionSelector::VisitWord32Popcnt(Node* node) { |
738 IA32OperandGenerator g(this); | 741 IA32OperandGenerator g(this); |
739 Emit(kIA32Popcnt, g.DefineAsRegister(node), g.Use(node->InputAt(0))); | 742 Emit(kIA32Popcnt, g.DefineAsRegister(node), g.Use(node->InputAt(0))); |
740 } | 743 } |
741 | 744 |
742 | 745 |
743 void InstructionSelector::VisitInt32Add(Node* node) { | 746 void InstructionSelector::VisitInt32Add(Node* node) { |
744 IA32OperandGenerator g(this); | 747 IA32OperandGenerator g(this); |
745 | 748 |
(...skipping 955 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1701 // static | 1704 // static |
1702 MachineOperatorBuilder::AlignmentRequirements | 1705 MachineOperatorBuilder::AlignmentRequirements |
1703 InstructionSelector::AlignmentRequirements() { | 1706 InstructionSelector::AlignmentRequirements() { |
1704 return MachineOperatorBuilder::AlignmentRequirements:: | 1707 return MachineOperatorBuilder::AlignmentRequirements:: |
1705 FullUnalignedAccessSupport(); | 1708 FullUnalignedAccessSupport(); |
1706 } | 1709 } |
1707 | 1710 |
1708 } // namespace compiler | 1711 } // namespace compiler |
1709 } // namespace internal | 1712 } // namespace internal |
1710 } // namespace v8 | 1713 } // namespace v8 |
OLD | NEW |