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