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

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

Issue 172333004: A64: Port recent ARM optimizations in LCodeGen::DoAccessArgumentsAt. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
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 | « no previous file | src/a64/lithium-a64.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 523 matching lines...) Expand 10 before | Expand all | Expand 10 after
534 public: 534 public:
535 LOsrEntry() {} 535 LOsrEntry() {}
536 536
537 virtual bool HasInterestingComment(LCodeGen* gen) const V8_OVERRIDE { 537 virtual bool HasInterestingComment(LCodeGen* gen) const V8_OVERRIDE {
538 return false; 538 return false;
539 } 539 }
540 DECLARE_CONCRETE_INSTRUCTION(OsrEntry, "osr-entry") 540 DECLARE_CONCRETE_INSTRUCTION(OsrEntry, "osr-entry")
541 }; 541 };
542 542
543 543
544 class LAccessArgumentsAt V8_FINAL : public LTemplateInstruction<1, 3, 1> { 544 class LAccessArgumentsAt V8_FINAL : public LTemplateInstruction<1, 3, 0> {
545 public: 545 public:
546 LAccessArgumentsAt(LOperand* arguments, 546 LAccessArgumentsAt(LOperand* arguments,
547 LOperand* length, 547 LOperand* length,
548 LOperand* index, 548 LOperand* index) {
549 LOperand* temp) {
550 inputs_[0] = arguments; 549 inputs_[0] = arguments;
551 inputs_[1] = length; 550 inputs_[1] = length;
552 inputs_[2] = index; 551 inputs_[2] = index;
553 temps_[0] = temp;
554 } 552 }
555 553
556 DECLARE_CONCRETE_INSTRUCTION(AccessArgumentsAt, "access-arguments-at") 554 DECLARE_CONCRETE_INSTRUCTION(AccessArgumentsAt, "access-arguments-at")
557 555
558 LOperand* arguments() { return inputs_[0]; } 556 LOperand* arguments() { return inputs_[0]; }
559 LOperand* length() { return inputs_[1]; } 557 LOperand* length() { return inputs_[1]; }
560 LOperand* index() { return inputs_[2]; } 558 LOperand* index() { return inputs_[2]; }
561 LOperand* temp() { return temps_[0]; }
562 559
563 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; 560 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
564 }; 561 };
565 562
566 563
567 class LAddE V8_FINAL : public LTemplateInstruction<1, 2, 0> { 564 class LAddE V8_FINAL : public LTemplateInstruction<1, 2, 0> {
568 public: 565 public:
569 LAddE(LOperand* left, LOperand* right) { 566 LAddE(LOperand* left, LOperand* right) {
570 inputs_[0] = left; 567 inputs_[0] = left;
571 inputs_[1] = right; 568 inputs_[1] = right;
(...skipping 2394 matching lines...) Expand 10 before | Expand all | Expand 10 after
2966 2963
2967 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2964 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2968 }; 2965 };
2969 2966
2970 #undef DECLARE_HYDROGEN_ACCESSOR 2967 #undef DECLARE_HYDROGEN_ACCESSOR
2971 #undef DECLARE_CONCRETE_INSTRUCTION 2968 #undef DECLARE_CONCRETE_INSTRUCTION
2972 2969
2973 } } // namespace v8::internal 2970 } } // namespace v8::internal
2974 2971
2975 #endif // V8_A64_LITHIUM_A64_H_ 2972 #endif // V8_A64_LITHIUM_A64_H_
OLDNEW
« no previous file with comments | « no previous file | src/a64/lithium-a64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698