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 678 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
689 X87OperandGenerator g(this); | 689 X87OperandGenerator g(this); |
690 Emit(kX87Lzcnt, g.DefineAsRegister(node), g.Use(node->InputAt(0))); | 690 Emit(kX87Lzcnt, g.DefineAsRegister(node), g.Use(node->InputAt(0))); |
691 } | 691 } |
692 | 692 |
693 | 693 |
694 void InstructionSelector::VisitWord32Ctz(Node* node) { UNREACHABLE(); } | 694 void InstructionSelector::VisitWord32Ctz(Node* node) { UNREACHABLE(); } |
695 | 695 |
696 | 696 |
697 void InstructionSelector::VisitWord32ReverseBits(Node* node) { UNREACHABLE(); } | 697 void InstructionSelector::VisitWord32ReverseBits(Node* node) { UNREACHABLE(); } |
698 | 698 |
| 699 void InstructionSelector::VisitWord64ReverseBytes(Node* node) { UNREACHABLE(); } |
| 700 |
| 701 void InstructionSelector::VisitWord32ReverseBytes(Node* node) { UNREACHABLE(); } |
699 | 702 |
700 void InstructionSelector::VisitWord32Popcnt(Node* node) { | 703 void InstructionSelector::VisitWord32Popcnt(Node* node) { |
701 X87OperandGenerator g(this); | 704 X87OperandGenerator g(this); |
702 Emit(kX87Popcnt, g.DefineAsRegister(node), g.Use(node->InputAt(0))); | 705 Emit(kX87Popcnt, g.DefineAsRegister(node), g.Use(node->InputAt(0))); |
703 } | 706 } |
704 | 707 |
705 | 708 |
706 void InstructionSelector::VisitInt32Add(Node* node) { | 709 void InstructionSelector::VisitInt32Add(Node* node) { |
707 X87OperandGenerator g(this); | 710 X87OperandGenerator g(this); |
708 | 711 |
(...skipping 1004 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1713 // static | 1716 // static |
1714 MachineOperatorBuilder::AlignmentRequirements | 1717 MachineOperatorBuilder::AlignmentRequirements |
1715 InstructionSelector::AlignmentRequirements() { | 1718 InstructionSelector::AlignmentRequirements() { |
1716 return MachineOperatorBuilder::AlignmentRequirements:: | 1719 return MachineOperatorBuilder::AlignmentRequirements:: |
1717 FullUnalignedAccessSupport(); | 1720 FullUnalignedAccessSupport(); |
1718 } | 1721 } |
1719 | 1722 |
1720 } // namespace compiler | 1723 } // namespace compiler |
1721 } // namespace internal | 1724 } // namespace internal |
1722 } // namespace v8 | 1725 } // namespace v8 |
OLD | NEW |