Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(169)

Side by Side Diff: src/arm/lithium-arm.h

Issue 151603004: A64: Synchronize with r16587. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/apinatives.js ('k') | src/arm/lithium-arm.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 659 matching lines...) Expand 10 before | Expand all | Expand 10 after
670 670
671 LOperand* left() { return inputs_[0]; } 671 LOperand* left() { return inputs_[0]; }
672 LOperand* right() { return inputs_[1]; } 672 LOperand* right() { return inputs_[1]; }
673 LOperand* temp() { return temps_[0]; } 673 LOperand* temp() { return temps_[0]; }
674 674
675 DECLARE_CONCRETE_INSTRUCTION(MathFloorOfDiv, "math-floor-of-div") 675 DECLARE_CONCRETE_INSTRUCTION(MathFloorOfDiv, "math-floor-of-div")
676 DECLARE_HYDROGEN_ACCESSOR(MathFloorOfDiv) 676 DECLARE_HYDROGEN_ACCESSOR(MathFloorOfDiv)
677 }; 677 };
678 678
679 679
680 class LMulI V8_FINAL : public LTemplateInstruction<1, 2, 1> { 680 class LMulI V8_FINAL : public LTemplateInstruction<1, 2, 0> {
681 public: 681 public:
682 LMulI(LOperand* left, LOperand* right, LOperand* temp) { 682 LMulI(LOperand* left, LOperand* right) {
683 inputs_[0] = left; 683 inputs_[0] = left;
684 inputs_[1] = right; 684 inputs_[1] = right;
685 temps_[0] = temp;
686 } 685 }
687 686
688 LOperand* left() { return inputs_[0]; } 687 LOperand* left() { return inputs_[0]; }
689 LOperand* right() { return inputs_[1]; } 688 LOperand* right() { return inputs_[1]; }
690 LOperand* temp() { return temps_[0]; }
691 689
692 DECLARE_CONCRETE_INSTRUCTION(MulI, "mul-i") 690 DECLARE_CONCRETE_INSTRUCTION(MulI, "mul-i")
693 DECLARE_HYDROGEN_ACCESSOR(Mul) 691 DECLARE_HYDROGEN_ACCESSOR(Mul)
694 }; 692 };
695 693
696 694
697 // Instruction for computing multiplier * multiplicand + addend. 695 // Instruction for computing multiplier * multiplicand + addend.
698 class LMultiplyAddD V8_FINAL : public LTemplateInstruction<1, 3, 0> { 696 class LMultiplyAddD V8_FINAL : public LTemplateInstruction<1, 3, 0> {
699 public: 697 public:
700 LMultiplyAddD(LOperand* addend, LOperand* multiplier, 698 LMultiplyAddD(LOperand* addend, LOperand* multiplier,
(...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after
1279 return hydrogen()->ExternalReferenceValue(); 1277 return hydrogen()->ExternalReferenceValue();
1280 } 1278 }
1281 }; 1279 };
1282 1280
1283 1281
1284 class LConstantT V8_FINAL : public LTemplateInstruction<1, 0, 0> { 1282 class LConstantT V8_FINAL : public LTemplateInstruction<1, 0, 0> {
1285 public: 1283 public:
1286 DECLARE_CONCRETE_INSTRUCTION(ConstantT, "constant-t") 1284 DECLARE_CONCRETE_INSTRUCTION(ConstantT, "constant-t")
1287 DECLARE_HYDROGEN_ACCESSOR(Constant) 1285 DECLARE_HYDROGEN_ACCESSOR(Constant)
1288 1286
1289 Handle<Object> value() const { return hydrogen()->handle(); } 1287 Handle<Object> value(Isolate* isolate) const {
1288 return hydrogen()->handle(isolate);
1289 }
1290 }; 1290 };
1291 1291
1292 1292
1293 class LBranch V8_FINAL : public LControlInstruction<1, 0> { 1293 class LBranch V8_FINAL : public LControlInstruction<1, 0> {
1294 public: 1294 public:
1295 explicit LBranch(LOperand* value) { 1295 explicit LBranch(LOperand* value) {
1296 inputs_[0] = value; 1296 inputs_[0] = value;
1297 } 1297 }
1298 1298
1299 LOperand* value() { return inputs_[0]; } 1299 LOperand* value() { return inputs_[0]; }
(...skipping 1487 matching lines...) Expand 10 before | Expand all | Expand 10 after
2787 2787
2788 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2788 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2789 }; 2789 };
2790 2790
2791 #undef DECLARE_HYDROGEN_ACCESSOR 2791 #undef DECLARE_HYDROGEN_ACCESSOR
2792 #undef DECLARE_CONCRETE_INSTRUCTION 2792 #undef DECLARE_CONCRETE_INSTRUCTION
2793 2793
2794 } } // namespace v8::internal 2794 } } // namespace v8::internal
2795 2795
2796 #endif // V8_ARM_LITHIUM_ARM_H_ 2796 #endif // V8_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « src/apinatives.js ('k') | src/arm/lithium-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698