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 <algorithm> | 5 #include <algorithm> |
6 | 6 |
7 #include "src/base/adapters.h" | 7 #include "src/base/adapters.h" |
8 #include "src/compiler/instruction-selector-impl.h" | 8 #include "src/compiler/instruction-selector-impl.h" |
9 #include "src/compiler/node-matchers.h" | 9 #include "src/compiler/node-matchers.h" |
10 #include "src/compiler/node-properties.h" | 10 #include "src/compiler/node-properties.h" |
(...skipping 726 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
737 X64OperandGenerator g(this); | 737 X64OperandGenerator g(this); |
738 Emit(kX64Tzcnt32, g.DefineAsRegister(node), g.Use(node->InputAt(0))); | 738 Emit(kX64Tzcnt32, g.DefineAsRegister(node), g.Use(node->InputAt(0))); |
739 } | 739 } |
740 | 740 |
741 | 741 |
742 void InstructionSelector::VisitWord32ReverseBits(Node* node) { UNREACHABLE(); } | 742 void InstructionSelector::VisitWord32ReverseBits(Node* node) { UNREACHABLE(); } |
743 | 743 |
744 | 744 |
745 void InstructionSelector::VisitWord64ReverseBits(Node* node) { UNREACHABLE(); } | 745 void InstructionSelector::VisitWord64ReverseBits(Node* node) { UNREACHABLE(); } |
746 | 746 |
| 747 void InstructionSelector::VisitWord64ReverseBytes(Node* node) { UNREACHABLE(); } |
| 748 |
| 749 void InstructionSelector::VisitWord32ReverseBytes(Node* node) { UNREACHABLE(); } |
| 750 |
| 751 void InstructionSelector::VisitWord16ReverseBytes(Node* node) { UNREACHABLE(); } |
747 | 752 |
748 void InstructionSelector::VisitWord32Popcnt(Node* node) { | 753 void InstructionSelector::VisitWord32Popcnt(Node* node) { |
749 X64OperandGenerator g(this); | 754 X64OperandGenerator g(this); |
750 Emit(kX64Popcnt32, g.DefineAsRegister(node), g.Use(node->InputAt(0))); | 755 Emit(kX64Popcnt32, g.DefineAsRegister(node), g.Use(node->InputAt(0))); |
751 } | 756 } |
752 | 757 |
753 | 758 |
754 void InstructionSelector::VisitWord64Popcnt(Node* node) { | 759 void InstructionSelector::VisitWord64Popcnt(Node* node) { |
755 X64OperandGenerator g(this); | 760 X64OperandGenerator g(this); |
756 Emit(kX64Popcnt, g.DefineAsRegister(node), g.Use(node->InputAt(0))); | 761 Emit(kX64Popcnt, g.DefineAsRegister(node), g.Use(node->InputAt(0))); |
(...skipping 1399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2156 // static | 2161 // static |
2157 MachineOperatorBuilder::AlignmentRequirements | 2162 MachineOperatorBuilder::AlignmentRequirements |
2158 InstructionSelector::AlignmentRequirements() { | 2163 InstructionSelector::AlignmentRequirements() { |
2159 return MachineOperatorBuilder::AlignmentRequirements:: | 2164 return MachineOperatorBuilder::AlignmentRequirements:: |
2160 FullUnalignedAccessSupport(); | 2165 FullUnalignedAccessSupport(); |
2161 } | 2166 } |
2162 | 2167 |
2163 } // namespace compiler | 2168 } // namespace compiler |
2164 } // namespace internal | 2169 } // namespace internal |
2165 } // namespace v8 | 2170 } // namespace v8 |
OLD | NEW |