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

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

Issue 371923006: Add mips64 port. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebase Created 6 years, 5 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/mips64/lithium-gap-resolver-mips64.cc ('k') | src/mips64/lithium-mips64.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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 V(MathMinMax) \ 115 V(MathMinMax) \
116 V(MathPowHalf) \ 116 V(MathPowHalf) \
117 V(MathRound) \ 117 V(MathRound) \
118 V(MathSqrt) \ 118 V(MathSqrt) \
119 V(ModByConstI) \ 119 V(ModByConstI) \
120 V(ModByPowerOf2I) \ 120 V(ModByPowerOf2I) \
121 V(ModI) \ 121 V(ModI) \
122 V(MulI) \ 122 V(MulI) \
123 V(MultiplyAddD) \ 123 V(MultiplyAddD) \
124 V(NumberTagD) \ 124 V(NumberTagD) \
125 V(NumberTagI) \
126 V(NumberTagU) \ 125 V(NumberTagU) \
127 V(NumberUntagD) \ 126 V(NumberUntagD) \
128 V(OsrEntry) \ 127 V(OsrEntry) \
129 V(Parameter) \ 128 V(Parameter) \
130 V(Power) \ 129 V(Power) \
131 V(PushArgument) \ 130 V(PushArgument) \
132 V(RegExpLiteral) \ 131 V(RegExpLiteral) \
133 V(Return) \ 132 V(Return) \
134 V(SeqStringGetChar) \ 133 V(SeqStringGetChar) \
135 V(SeqStringSetChar) \ 134 V(SeqStringSetChar) \
(...skipping 1701 matching lines...) Expand 10 before | Expand all | Expand 10 after
1837 1836
1838 // Iterator support. 1837 // Iterator support.
1839 virtual int InputCount() V8_FINAL V8_OVERRIDE { return inputs_.length(); } 1838 virtual int InputCount() V8_FINAL V8_OVERRIDE { return inputs_.length(); }
1840 virtual LOperand* InputAt(int i) V8_FINAL V8_OVERRIDE { return inputs_[i]; } 1839 virtual LOperand* InputAt(int i) V8_FINAL V8_OVERRIDE { return inputs_[i]; }
1841 1840
1842 virtual int TempCount() V8_FINAL V8_OVERRIDE { return 0; } 1841 virtual int TempCount() V8_FINAL V8_OVERRIDE { return 0; }
1843 virtual LOperand* TempAt(int i) V8_FINAL V8_OVERRIDE { return NULL; } 1842 virtual LOperand* TempAt(int i) V8_FINAL V8_OVERRIDE { return NULL; }
1844 }; 1843 };
1845 1844
1846 1845
1846
1847 class LInvokeFunction V8_FINAL : public LTemplateInstruction<1, 2, 0> { 1847 class LInvokeFunction V8_FINAL : public LTemplateInstruction<1, 2, 0> {
1848 public: 1848 public:
1849 LInvokeFunction(LOperand* context, LOperand* function) { 1849 LInvokeFunction(LOperand* context, LOperand* function) {
1850 inputs_[0] = context; 1850 inputs_[0] = context;
1851 inputs_[1] = function; 1851 inputs_[1] = function;
1852 } 1852 }
1853 1853
1854 LOperand* context() { return inputs_[0]; } 1854 LOperand* context() { return inputs_[0]; }
1855 LOperand* function() { return inputs_[1]; } 1855 LOperand* function() { return inputs_[1]; }
1856 1856
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
1956 explicit LUint32ToDouble(LOperand* value) { 1956 explicit LUint32ToDouble(LOperand* value) {
1957 inputs_[0] = value; 1957 inputs_[0] = value;
1958 } 1958 }
1959 1959
1960 LOperand* value() { return inputs_[0]; } 1960 LOperand* value() { return inputs_[0]; }
1961 1961
1962 DECLARE_CONCRETE_INSTRUCTION(Uint32ToDouble, "uint32-to-double") 1962 DECLARE_CONCRETE_INSTRUCTION(Uint32ToDouble, "uint32-to-double")
1963 }; 1963 };
1964 1964
1965 1965
1966 class LNumberTagI V8_FINAL : public LTemplateInstruction<1, 1, 2> {
1967 public:
1968 LNumberTagI(LOperand* value, LOperand* temp1, LOperand* temp2) {
1969 inputs_[0] = value;
1970 temps_[0] = temp1;
1971 temps_[1] = temp2;
1972 }
1973
1974 LOperand* value() { return inputs_[0]; }
1975 LOperand* temp1() { return temps_[0]; }
1976 LOperand* temp2() { return temps_[1]; }
1977
1978 DECLARE_CONCRETE_INSTRUCTION(NumberTagI, "number-tag-i")
1979 };
1980
1981
1982 class LNumberTagU V8_FINAL : public LTemplateInstruction<1, 1, 2> { 1966 class LNumberTagU V8_FINAL : public LTemplateInstruction<1, 1, 2> {
1983 public: 1967 public:
1984 LNumberTagU(LOperand* value, LOperand* temp1, LOperand* temp2) { 1968 LNumberTagU(LOperand* value, LOperand* temp1, LOperand* temp2) {
1985 inputs_[0] = value; 1969 inputs_[0] = value;
1986 temps_[0] = temp1; 1970 temps_[0] = temp1;
1987 temps_[1] = temp2; 1971 temps_[1] = temp2;
1988 } 1972 }
1989 1973
1990 LOperand* value() { return inputs_[0]; } 1974 LOperand* value() { return inputs_[0]; }
1991 LOperand* temp1() { return temps_[0]; } 1975 LOperand* temp1() { return temps_[0]; }
(...skipping 836 matching lines...) Expand 10 before | Expand all | Expand 10 after
2828 2812
2829 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2813 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2830 }; 2814 };
2831 2815
2832 #undef DECLARE_HYDROGEN_ACCESSOR 2816 #undef DECLARE_HYDROGEN_ACCESSOR
2833 #undef DECLARE_CONCRETE_INSTRUCTION 2817 #undef DECLARE_CONCRETE_INSTRUCTION
2834 2818
2835 } } // namespace v8::internal 2819 } } // namespace v8::internal
2836 2820
2837 #endif // V8_MIPS_LITHIUM_MIPS_H_ 2821 #endif // V8_MIPS_LITHIUM_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips64/lithium-gap-resolver-mips64.cc ('k') | src/mips64/lithium-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698