| 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 751 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 762 Emit(kArmSbfx, g.DefineAsRegister(node), | 762 Emit(kArmSbfx, g.DefineAsRegister(node), |
| 763 g.UseRegister(mleft.left().node()), g.TempImmediate(sar - shl), | 763 g.UseRegister(mleft.left().node()), g.TempImmediate(sar - shl), |
| 764 g.TempImmediate(32 - sar)); | 764 g.TempImmediate(32 - sar)); |
| 765 return; | 765 return; |
| 766 } | 766 } |
| 767 } | 767 } |
| 768 } | 768 } |
| 769 VisitShift(this, node, TryMatchASR); | 769 VisitShift(this, node, TryMatchASR); |
| 770 } | 770 } |
| 771 | 771 |
| 772 void InstructionSelector::VisitWord32PairShl(Node* node) { UNIMPLEMENTED(); } |
| 772 | 773 |
| 773 void InstructionSelector::VisitWord32Ror(Node* node) { | 774 void InstructionSelector::VisitWord32Ror(Node* node) { |
| 774 VisitShift(this, node, TryMatchROR); | 775 VisitShift(this, node, TryMatchROR); |
| 775 } | 776 } |
| 776 | 777 |
| 777 | 778 |
| 778 void InstructionSelector::VisitWord32Clz(Node* node) { | 779 void InstructionSelector::VisitWord32Clz(Node* node) { |
| 779 VisitRR(this, kArmClz, node); | 780 VisitRR(this, kArmClz, node); |
| 780 } | 781 } |
| 781 | 782 |
| (...skipping 930 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1712 MachineOperatorBuilder::kFloat64RoundTiesAway | | 1713 MachineOperatorBuilder::kFloat64RoundTiesAway | |
| 1713 MachineOperatorBuilder::kFloat32RoundTiesEven | | 1714 MachineOperatorBuilder::kFloat32RoundTiesEven | |
| 1714 MachineOperatorBuilder::kFloat64RoundTiesEven; | 1715 MachineOperatorBuilder::kFloat64RoundTiesEven; |
| 1715 } | 1716 } |
| 1716 return flags; | 1717 return flags; |
| 1717 } | 1718 } |
| 1718 | 1719 |
| 1719 } // namespace compiler | 1720 } // namespace compiler |
| 1720 } // namespace internal | 1721 } // namespace internal |
| 1721 } // namespace v8 | 1722 } // namespace v8 |
| OLD | NEW |