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

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

Issue 458193002: Revert 23028 - "MIPS: Add support for arch. revision 6 to mips32 port." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 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/mips/lithium-codegen-mips.cc ('k') | src/mips/lithium-mips.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 // 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_MIPS_LITHIUM_MIPS_H_ 5 #ifndef V8_MIPS_LITHIUM_MIPS_H_
6 #define V8_MIPS_LITHIUM_MIPS_H_ 6 #define V8_MIPS_LITHIUM_MIPS_H_
7 7
8 #include "src/hydrogen.h" 8 #include "src/hydrogen.h"
9 #include "src/lithium.h" 9 #include "src/lithium.h"
10 #include "src/lithium-allocator.h" 10 #include "src/lithium-allocator.h"
(...skipping 677 matching lines...) Expand 10 before | Expand all | Expand 10 after
688 int32_t divisor() const { return divisor_; } 688 int32_t divisor() const { return divisor_; }
689 689
690 DECLARE_CONCRETE_INSTRUCTION(DivByConstI, "div-by-const-i") 690 DECLARE_CONCRETE_INSTRUCTION(DivByConstI, "div-by-const-i")
691 DECLARE_HYDROGEN_ACCESSOR(Div) 691 DECLARE_HYDROGEN_ACCESSOR(Div)
692 692
693 private: 693 private:
694 int32_t divisor_; 694 int32_t divisor_;
695 }; 695 };
696 696
697 697
698 class LDivI V8_FINAL : public LTemplateInstruction<1, 2, 1> { 698 class LDivI V8_FINAL : public LTemplateInstruction<1, 2, 0> {
699 public: 699 public:
700 LDivI(LOperand* dividend, LOperand* divisor, LOperand* temp) { 700 LDivI(LOperand* dividend, LOperand* divisor) {
701 inputs_[0] = dividend; 701 inputs_[0] = dividend;
702 inputs_[1] = divisor; 702 inputs_[1] = divisor;
703 temps_[0] = temp;
704 } 703 }
705 704
706 LOperand* dividend() { return inputs_[0]; } 705 LOperand* dividend() { return inputs_[0]; }
707 LOperand* divisor() { return inputs_[1]; } 706 LOperand* divisor() { return inputs_[1]; }
708 LOperand* temp() { return temps_[0]; }
709 707
710 DECLARE_CONCRETE_INSTRUCTION(DivI, "div-i") 708 DECLARE_CONCRETE_INSTRUCTION(DivI, "div-i")
711 DECLARE_HYDROGEN_ACCESSOR(BinaryOperation) 709 DECLARE_HYDROGEN_ACCESSOR(BinaryOperation)
712 }; 710 };
713 711
714 712
715 class LFlooringDivByPowerOf2I V8_FINAL : public LTemplateInstruction<1, 1, 0> { 713 class LFlooringDivByPowerOf2I V8_FINAL : public LTemplateInstruction<1, 1, 0> {
716 public: 714 public:
717 LFlooringDivByPowerOf2I(LOperand* dividend, int32_t divisor) { 715 LFlooringDivByPowerOf2I(LOperand* dividend, int32_t divisor) {
718 inputs_[0] = dividend; 716 inputs_[0] = dividend;
(...skipping 2136 matching lines...) Expand 10 before | Expand all | Expand 10 after
2855 2853
2856 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2854 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2857 }; 2855 };
2858 2856
2859 #undef DECLARE_HYDROGEN_ACCESSOR 2857 #undef DECLARE_HYDROGEN_ACCESSOR
2860 #undef DECLARE_CONCRETE_INSTRUCTION 2858 #undef DECLARE_CONCRETE_INSTRUCTION
2861 2859
2862 } } // namespace v8::internal 2860 } } // namespace v8::internal
2863 2861
2864 #endif // V8_MIPS_LITHIUM_MIPS_H_ 2862 #endif // V8_MIPS_LITHIUM_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/mips/lithium-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698