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 708 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
719 | 719 |
720 | 720 |
721 void InstructionSelector::VisitWord32Ctz(Node* node) { | 721 void InstructionSelector::VisitWord32Ctz(Node* node) { |
722 IA32OperandGenerator g(this); | 722 IA32OperandGenerator g(this); |
723 Emit(kIA32Tzcnt, g.DefineAsRegister(node), g.Use(node->InputAt(0))); | 723 Emit(kIA32Tzcnt, g.DefineAsRegister(node), g.Use(node->InputAt(0))); |
724 } | 724 } |
725 | 725 |
726 | 726 |
727 void InstructionSelector::VisitWord32ReverseBits(Node* node) { UNREACHABLE(); } | 727 void InstructionSelector::VisitWord32ReverseBits(Node* node) { UNREACHABLE(); } |
728 | 728 |
| 729 void InstructionSelector::VisitWord64ReverseBytes(Node* node) { UNREACHABLE(); } |
| 730 |
| 731 void InstructionSelector::VisitWord32ReverseBytes(Node* node) { UNREACHABLE(); } |
| 732 |
| 733 void InstructionSelector::VisitWord16ReverseBytes(Node* node) { UNREACHABLE(); } |
729 | 734 |
730 void InstructionSelector::VisitWord32Popcnt(Node* node) { | 735 void InstructionSelector::VisitWord32Popcnt(Node* node) { |
731 IA32OperandGenerator g(this); | 736 IA32OperandGenerator g(this); |
732 Emit(kIA32Popcnt, g.DefineAsRegister(node), g.Use(node->InputAt(0))); | 737 Emit(kIA32Popcnt, g.DefineAsRegister(node), g.Use(node->InputAt(0))); |
733 } | 738 } |
734 | 739 |
735 | 740 |
736 void InstructionSelector::VisitInt32Add(Node* node) { | 741 void InstructionSelector::VisitInt32Add(Node* node) { |
737 IA32OperandGenerator g(this); | 742 IA32OperandGenerator g(this); |
738 | 743 |
(...skipping 926 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1665 // static | 1670 // static |
1666 MachineOperatorBuilder::AlignmentRequirements | 1671 MachineOperatorBuilder::AlignmentRequirements |
1667 InstructionSelector::AlignmentRequirements() { | 1672 InstructionSelector::AlignmentRequirements() { |
1668 return MachineOperatorBuilder::AlignmentRequirements:: | 1673 return MachineOperatorBuilder::AlignmentRequirements:: |
1669 FullUnalignedAccessSupport(); | 1674 FullUnalignedAccessSupport(); |
1670 } | 1675 } |
1671 | 1676 |
1672 } // namespace compiler | 1677 } // namespace compiler |
1673 } // namespace internal | 1678 } // namespace internal |
1674 } // namespace v8 | 1679 } // namespace v8 |
OLD | NEW |