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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 V(LoadKeyed) \ | 128 V(LoadKeyed) \ |
129 V(LoadKeyedGeneric) \ | 129 V(LoadKeyedGeneric) \ |
130 V(LoadNamedField) \ | 130 V(LoadNamedField) \ |
131 V(LoadNamedFieldPolymorphic) \ | 131 V(LoadNamedFieldPolymorphic) \ |
132 V(LoadNamedGeneric) \ | 132 V(LoadNamedGeneric) \ |
133 V(MapEnumLength) \ | 133 V(MapEnumLength) \ |
134 V(MathFloorOfDiv) \ | 134 V(MathFloorOfDiv) \ |
135 V(MathMinMax) \ | 135 V(MathMinMax) \ |
136 V(ModI) \ | 136 V(ModI) \ |
137 V(MulI) \ | 137 V(MulI) \ |
| 138 V(MultiplyAddD) \ |
138 V(NumberTagD) \ | 139 V(NumberTagD) \ |
139 V(NumberTagI) \ | 140 V(NumberTagI) \ |
140 V(NumberTagU) \ | 141 V(NumberTagU) \ |
141 V(NumberUntagD) \ | 142 V(NumberUntagD) \ |
142 V(ObjectLiteral) \ | 143 V(ObjectLiteral) \ |
143 V(OsrEntry) \ | 144 V(OsrEntry) \ |
144 V(OuterContext) \ | 145 V(OuterContext) \ |
145 V(Parameter) \ | 146 V(Parameter) \ |
146 V(Power) \ | 147 V(Power) \ |
147 V(PushArgument) \ | 148 V(PushArgument) \ |
(...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
614 | 615 |
615 LOperand* left() { return inputs_[0]; } | 616 LOperand* left() { return inputs_[0]; } |
616 LOperand* right() { return inputs_[1]; } | 617 LOperand* right() { return inputs_[1]; } |
617 LOperand* temp() { return temps_[0]; } | 618 LOperand* temp() { return temps_[0]; } |
618 | 619 |
619 DECLARE_CONCRETE_INSTRUCTION(MulI, "mul-i") | 620 DECLARE_CONCRETE_INSTRUCTION(MulI, "mul-i") |
620 DECLARE_HYDROGEN_ACCESSOR(Mul) | 621 DECLARE_HYDROGEN_ACCESSOR(Mul) |
621 }; | 622 }; |
622 | 623 |
623 | 624 |
| 625 class LMultiplyAddD: public LTemplateInstruction<1, 3, 0> { |
| 626 public: |
| 627 LMultiplyAddD(LOperand* c, LOperand *a, LOperand* b) { |
| 628 inputs_[0] = c; |
| 629 inputs_[1] = a; |
| 630 inputs_[2] = b; |
| 631 } |
| 632 |
| 633 LOperand* c() { return inputs_[0]; } |
| 634 LOperand* a() { return inputs_[1]; } |
| 635 LOperand* b() { return inputs_[2]; } |
| 636 |
| 637 DECLARE_CONCRETE_INSTRUCTION(MultiplyAddD, "multiply-add-d") |
| 638 DECLARE_HYDROGEN_ACCESSOR(MultiplyAddD) |
| 639 }; |
| 640 |
| 641 |
624 class LCmpIDAndBranch: public LControlInstruction<2, 0> { | 642 class LCmpIDAndBranch: public LControlInstruction<2, 0> { |
625 public: | 643 public: |
626 LCmpIDAndBranch(LOperand* left, LOperand* right) { | 644 LCmpIDAndBranch(LOperand* left, LOperand* right) { |
627 inputs_[0] = left; | 645 inputs_[0] = left; |
628 inputs_[1] = right; | 646 inputs_[1] = right; |
629 } | 647 } |
630 | 648 |
631 LOperand* left() { return inputs_[0]; } | 649 LOperand* left() { return inputs_[0]; } |
632 LOperand* right() { return inputs_[1]; } | 650 LOperand* right() { return inputs_[1]; } |
633 | 651 |
(...skipping 1890 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2524 | 2542 |
2525 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2543 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2526 }; | 2544 }; |
2527 | 2545 |
2528 #undef DECLARE_HYDROGEN_ACCESSOR | 2546 #undef DECLARE_HYDROGEN_ACCESSOR |
2529 #undef DECLARE_CONCRETE_INSTRUCTION | 2547 #undef DECLARE_CONCRETE_INSTRUCTION |
2530 | 2548 |
2531 } } // namespace v8::internal | 2549 } } // namespace v8::internal |
2532 | 2550 |
2533 #endif // V8_ARM_LITHIUM_ARM_H_ | 2551 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |