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/base/bits.h" | 6 #include "src/base/bits.h" |
7 #include "src/compiler/instruction-selector-impl.h" | 7 #include "src/compiler/instruction-selector-impl.h" |
8 #include "src/compiler/node-matchers.h" | 8 #include "src/compiler/node-matchers.h" |
9 #include "src/compiler/node-properties.h" | 9 #include "src/compiler/node-properties.h" |
10 | 10 |
(...skipping 770 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
781 g.UseRegister(node->InputAt(1)), | 781 g.UseRegister(node->InputAt(1)), |
782 shift_operand}; | 782 shift_operand}; |
783 | 783 |
784 InstructionOperand outputs[] = { | 784 InstructionOperand outputs[] = { |
785 g.DefineSameAsFirst(node), | 785 g.DefineSameAsFirst(node), |
786 g.DefineAsRegister(NodeProperties::FindProjection(node, 1))}; | 786 g.DefineAsRegister(NodeProperties::FindProjection(node, 1))}; |
787 | 787 |
788 Emit(kArmPairLsl, 2, outputs, 3, inputs); | 788 Emit(kArmPairLsl, 2, outputs, 3, inputs); |
789 } | 789 } |
790 | 790 |
| 791 void InstructionSelector::VisitWord32PairShr(Node* node) { UNIMPLEMENTED(); } |
| 792 |
| 793 void InstructionSelector::VisitWord32PairSar(Node* node) { UNIMPLEMENTED(); } |
| 794 |
791 void InstructionSelector::VisitWord32Ror(Node* node) { | 795 void InstructionSelector::VisitWord32Ror(Node* node) { |
792 VisitShift(this, node, TryMatchROR); | 796 VisitShift(this, node, TryMatchROR); |
793 } | 797 } |
794 | 798 |
795 | 799 |
796 void InstructionSelector::VisitWord32Clz(Node* node) { | 800 void InstructionSelector::VisitWord32Clz(Node* node) { |
797 VisitRR(this, kArmClz, node); | 801 VisitRR(this, kArmClz, node); |
798 } | 802 } |
799 | 803 |
800 | 804 |
(...skipping 930 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1731 MachineOperatorBuilder::kFloat64RoundTiesAway | | 1735 MachineOperatorBuilder::kFloat64RoundTiesAway | |
1732 MachineOperatorBuilder::kFloat32RoundTiesEven | | 1736 MachineOperatorBuilder::kFloat32RoundTiesEven | |
1733 MachineOperatorBuilder::kFloat64RoundTiesEven; | 1737 MachineOperatorBuilder::kFloat64RoundTiesEven; |
1734 } | 1738 } |
1735 return flags; | 1739 return flags; |
1736 } | 1740 } |
1737 | 1741 |
1738 } // namespace compiler | 1742 } // namespace compiler |
1739 } // namespace internal | 1743 } // namespace internal |
1740 } // namespace v8 | 1744 } // namespace v8 |
OLD | NEW |