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