OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 #ifndef V8_CRANKSHAFT_ARM64_LITHIUM_ARM64_H_ | 5 #ifndef V8_CRANKSHAFT_ARM64_LITHIUM_ARM64_H_ |
6 #define V8_CRANKSHAFT_ARM64_LITHIUM_ARM64_H_ | 6 #define V8_CRANKSHAFT_ARM64_LITHIUM_ARM64_H_ |
7 | 7 |
8 #include "src/crankshaft/hydrogen.h" | 8 #include "src/crankshaft/hydrogen.h" |
9 #include "src/crankshaft/lithium.h" | 9 #include "src/crankshaft/lithium.h" |
10 #include "src/crankshaft/lithium-allocator.h" | 10 #include "src/crankshaft/lithium-allocator.h" |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 V(LoadKeyedExternal) \ | 97 V(LoadKeyedExternal) \ |
98 V(LoadKeyedFixed) \ | 98 V(LoadKeyedFixed) \ |
99 V(LoadKeyedFixedDouble) \ | 99 V(LoadKeyedFixedDouble) \ |
100 V(LoadKeyedGeneric) \ | 100 V(LoadKeyedGeneric) \ |
101 V(LoadNamedField) \ | 101 V(LoadNamedField) \ |
102 V(LoadNamedGeneric) \ | 102 V(LoadNamedGeneric) \ |
103 V(LoadRoot) \ | 103 V(LoadRoot) \ |
104 V(MathAbs) \ | 104 V(MathAbs) \ |
105 V(MathAbsTagged) \ | 105 V(MathAbsTagged) \ |
106 V(MathClz32) \ | 106 V(MathClz32) \ |
| 107 V(MathCos) \ |
| 108 V(MathSin) \ |
107 V(MathExp) \ | 109 V(MathExp) \ |
108 V(MathFloorD) \ | 110 V(MathFloorD) \ |
109 V(MathFloorI) \ | 111 V(MathFloorI) \ |
110 V(MathFround) \ | 112 V(MathFround) \ |
111 V(MathLog) \ | 113 V(MathLog) \ |
112 V(MathMinMax) \ | 114 V(MathMinMax) \ |
113 V(MathPowHalf) \ | 115 V(MathPowHalf) \ |
114 V(MathRoundD) \ | 116 V(MathRoundD) \ |
115 V(MathRoundI) \ | 117 V(MathRoundI) \ |
116 V(MathSqrt) \ | 118 V(MathSqrt) \ |
(...skipping 1639 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1756 LOperand* context() { return inputs_[0]; } | 1758 LOperand* context() { return inputs_[0]; } |
1757 LOperand* value() { return inputs_[1]; } | 1759 LOperand* value() { return inputs_[1]; } |
1758 LOperand* temp1() { return temps_[0]; } | 1760 LOperand* temp1() { return temps_[0]; } |
1759 LOperand* temp2() { return temps_[1]; } | 1761 LOperand* temp2() { return temps_[1]; } |
1760 LOperand* temp3() { return temps_[2]; } | 1762 LOperand* temp3() { return temps_[2]; } |
1761 | 1763 |
1762 DECLARE_CONCRETE_INSTRUCTION(MathAbsTagged, "math-abs-tagged") | 1764 DECLARE_CONCRETE_INSTRUCTION(MathAbsTagged, "math-abs-tagged") |
1763 DECLARE_HYDROGEN_ACCESSOR(UnaryMathOperation) | 1765 DECLARE_HYDROGEN_ACCESSOR(UnaryMathOperation) |
1764 }; | 1766 }; |
1765 | 1767 |
| 1768 class LMathCos final : public LUnaryMathOperation<0> { |
| 1769 public: |
| 1770 explicit LMathCos(LOperand* value) : LUnaryMathOperation<0>(value) {} |
| 1771 |
| 1772 DECLARE_CONCRETE_INSTRUCTION(MathCos, "math-cos") |
| 1773 }; |
| 1774 |
| 1775 class LMathSin final : public LUnaryMathOperation<0> { |
| 1776 public: |
| 1777 explicit LMathSin(LOperand* value) : LUnaryMathOperation<0>(value) {} |
| 1778 |
| 1779 DECLARE_CONCRETE_INSTRUCTION(MathSin, "math-sin") |
| 1780 }; |
| 1781 |
1766 class LMathExp final : public LUnaryMathOperation<0> { | 1782 class LMathExp final : public LUnaryMathOperation<0> { |
1767 public: | 1783 public: |
1768 explicit LMathExp(LOperand* value) : LUnaryMathOperation<0>(value) {} | 1784 explicit LMathExp(LOperand* value) : LUnaryMathOperation<0>(value) {} |
1769 | 1785 |
1770 DECLARE_CONCRETE_INSTRUCTION(MathExp, "math-exp") | 1786 DECLARE_CONCRETE_INSTRUCTION(MathExp, "math-exp") |
1771 }; | 1787 }; |
1772 | 1788 |
1773 | 1789 |
1774 // Math.floor with a double result. | 1790 // Math.floor with a double result. |
1775 class LMathFloorD final : public LUnaryMathOperation<0> { | 1791 class LMathFloorD final : public LUnaryMathOperation<0> { |
(...skipping 1231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3007 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 3023 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
3008 }; | 3024 }; |
3009 | 3025 |
3010 #undef DECLARE_HYDROGEN_ACCESSOR | 3026 #undef DECLARE_HYDROGEN_ACCESSOR |
3011 #undef DECLARE_CONCRETE_INSTRUCTION | 3027 #undef DECLARE_CONCRETE_INSTRUCTION |
3012 | 3028 |
3013 } // namespace internal | 3029 } // namespace internal |
3014 } // namespace v8 | 3030 } // namespace v8 |
3015 | 3031 |
3016 #endif // V8_CRANKSHAFT_ARM64_LITHIUM_ARM64_H_ | 3032 #endif // V8_CRANKSHAFT_ARM64_LITHIUM_ARM64_H_ |
OLD | NEW |