OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 V(GlobalObject) \ | 101 V(GlobalObject) \ |
102 V(GlobalReceiver) \ | 102 V(GlobalReceiver) \ |
103 V(Goto) \ | 103 V(Goto) \ |
104 V(HasCachedArrayIndexAndBranch) \ | 104 V(HasCachedArrayIndexAndBranch) \ |
105 V(HasInstanceTypeAndBranch) \ | 105 V(HasInstanceTypeAndBranch) \ |
106 V(In) \ | 106 V(In) \ |
107 V(InstanceOf) \ | 107 V(InstanceOf) \ |
108 V(InstanceOfKnownGlobal) \ | 108 V(InstanceOfKnownGlobal) \ |
109 V(InstructionGap) \ | 109 V(InstructionGap) \ |
110 V(Integer32ToDouble) \ | 110 V(Integer32ToDouble) \ |
| 111 V(Uint32ToDouble) \ |
111 V(InvokeFunction) \ | 112 V(InvokeFunction) \ |
112 V(IsConstructCallAndBranch) \ | 113 V(IsConstructCallAndBranch) \ |
113 V(IsNilAndBranch) \ | 114 V(IsNilAndBranch) \ |
114 V(IsObjectAndBranch) \ | 115 V(IsObjectAndBranch) \ |
115 V(IsStringAndBranch) \ | 116 V(IsStringAndBranch) \ |
116 V(IsSmiAndBranch) \ | 117 V(IsSmiAndBranch) \ |
117 V(IsUndetectableAndBranch) \ | 118 V(IsUndetectableAndBranch) \ |
118 V(JSArrayLength) \ | 119 V(JSArrayLength) \ |
119 V(Label) \ | 120 V(Label) \ |
120 V(LazyBailout) \ | 121 V(LazyBailout) \ |
121 V(LoadContextSlot) \ | 122 V(LoadContextSlot) \ |
122 V(LoadElements) \ | 123 V(LoadElements) \ |
123 V(LoadExternalArrayPointer) \ | 124 V(LoadExternalArrayPointer) \ |
124 V(LoadFunctionPrototype) \ | 125 V(LoadFunctionPrototype) \ |
125 V(LoadGlobalCell) \ | 126 V(LoadGlobalCell) \ |
126 V(LoadGlobalGeneric) \ | 127 V(LoadGlobalGeneric) \ |
127 V(LoadKeyedFastDoubleElement) \ | 128 V(LoadKeyedFastDoubleElement) \ |
128 V(LoadKeyedFastElement) \ | 129 V(LoadKeyedFastElement) \ |
129 V(LoadKeyedGeneric) \ | 130 V(LoadKeyedGeneric) \ |
130 V(LoadKeyedSpecializedArrayElement) \ | 131 V(LoadKeyedSpecializedArrayElement) \ |
131 V(LoadNamedField) \ | 132 V(LoadNamedField) \ |
132 V(LoadNamedFieldPolymorphic) \ | 133 V(LoadNamedFieldPolymorphic) \ |
133 V(LoadNamedGeneric) \ | 134 V(LoadNamedGeneric) \ |
134 V(MathFloorOfDiv) \ | 135 V(MathFloorOfDiv) \ |
135 V(MathMinMax) \ | 136 V(MathMinMax) \ |
136 V(ModI) \ | 137 V(ModI) \ |
137 V(MulI) \ | 138 V(MulI) \ |
138 V(NumberTagD) \ | 139 V(NumberTagD) \ |
139 V(NumberTagI) \ | 140 V(NumberTagI) \ |
| 141 V(NumberTagU) \ |
140 V(NumberUntagD) \ | 142 V(NumberUntagD) \ |
141 V(ObjectLiteral) \ | 143 V(ObjectLiteral) \ |
142 V(OsrEntry) \ | 144 V(OsrEntry) \ |
143 V(OuterContext) \ | 145 V(OuterContext) \ |
144 V(Parameter) \ | 146 V(Parameter) \ |
145 V(Power) \ | 147 V(Power) \ |
146 V(PushArgument) \ | 148 V(PushArgument) \ |
147 V(Random) \ | 149 V(Random) \ |
148 V(RegExpLiteral) \ | 150 V(RegExpLiteral) \ |
149 V(Return) \ | 151 V(Return) \ |
(...skipping 1448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1598 class LInteger32ToDouble: public LTemplateInstruction<1, 1, 0> { | 1600 class LInteger32ToDouble: public LTemplateInstruction<1, 1, 0> { |
1599 public: | 1601 public: |
1600 explicit LInteger32ToDouble(LOperand* value) { | 1602 explicit LInteger32ToDouble(LOperand* value) { |
1601 inputs_[0] = value; | 1603 inputs_[0] = value; |
1602 } | 1604 } |
1603 | 1605 |
1604 DECLARE_CONCRETE_INSTRUCTION(Integer32ToDouble, "int32-to-double") | 1606 DECLARE_CONCRETE_INSTRUCTION(Integer32ToDouble, "int32-to-double") |
1605 }; | 1607 }; |
1606 | 1608 |
1607 | 1609 |
| 1610 class LUint32ToDouble: public LTemplateInstruction<1, 1, 0> { |
| 1611 public: |
| 1612 explicit LUint32ToDouble(LOperand* value) { |
| 1613 inputs_[0] = value; |
| 1614 } |
| 1615 |
| 1616 DECLARE_CONCRETE_INSTRUCTION(Uint32ToDouble, "uint32-to-double") |
| 1617 }; |
| 1618 |
| 1619 |
1608 class LNumberTagI: public LTemplateInstruction<1, 1, 0> { | 1620 class LNumberTagI: public LTemplateInstruction<1, 1, 0> { |
1609 public: | 1621 public: |
1610 explicit LNumberTagI(LOperand* value) { | 1622 explicit LNumberTagI(LOperand* value) { |
1611 inputs_[0] = value; | 1623 inputs_[0] = value; |
1612 } | 1624 } |
1613 | 1625 |
1614 DECLARE_CONCRETE_INSTRUCTION(NumberTagI, "number-tag-i") | 1626 DECLARE_CONCRETE_INSTRUCTION(NumberTagI, "number-tag-i") |
1615 }; | 1627 }; |
1616 | 1628 |
1617 | 1629 |
| 1630 class LNumberTagU: public LTemplateInstruction<1, 1, 0> { |
| 1631 public: |
| 1632 explicit LNumberTagU(LOperand* value) { |
| 1633 inputs_[0] = value; |
| 1634 } |
| 1635 |
| 1636 DECLARE_CONCRETE_INSTRUCTION(NumberTagU, "number-tag-u") |
| 1637 }; |
| 1638 |
| 1639 |
1618 class LNumberTagD: public LTemplateInstruction<1, 1, 2> { | 1640 class LNumberTagD: public LTemplateInstruction<1, 1, 2> { |
1619 public: | 1641 public: |
1620 LNumberTagD(LOperand* value, LOperand* temp1, LOperand* temp2) { | 1642 LNumberTagD(LOperand* value, LOperand* temp1, LOperand* temp2) { |
1621 inputs_[0] = value; | 1643 inputs_[0] = value; |
1622 temps_[0] = temp1; | 1644 temps_[0] = temp1; |
1623 temps_[1] = temp2; | 1645 temps_[1] = temp2; |
1624 } | 1646 } |
1625 | 1647 |
1626 DECLARE_CONCRETE_INSTRUCTION(NumberTagD, "number-tag-d") | 1648 DECLARE_CONCRETE_INSTRUCTION(NumberTagD, "number-tag-d") |
1627 }; | 1649 }; |
(...skipping 773 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2401 | 2423 |
2402 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2424 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2403 }; | 2425 }; |
2404 | 2426 |
2405 #undef DECLARE_HYDROGEN_ACCESSOR | 2427 #undef DECLARE_HYDROGEN_ACCESSOR |
2406 #undef DECLARE_CONCRETE_INSTRUCTION | 2428 #undef DECLARE_CONCRETE_INSTRUCTION |
2407 | 2429 |
2408 } } // namespace v8::internal | 2430 } } // namespace v8::internal |
2409 | 2431 |
2410 #endif // V8_ARM_LITHIUM_ARM_H_ | 2432 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |