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

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

Issue 7350021: Crankshaft support for FixedDoubleArrays (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: review feedback Created 9 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 | « no previous file | 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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 V(IsUndetectableAndBranch) \ 114 V(IsUndetectableAndBranch) \
115 V(JSArrayLength) \ 115 V(JSArrayLength) \
116 V(Label) \ 116 V(Label) \
117 V(LazyBailout) \ 117 V(LazyBailout) \
118 V(LoadContextSlot) \ 118 V(LoadContextSlot) \
119 V(LoadElements) \ 119 V(LoadElements) \
120 V(LoadExternalArrayPointer) \ 120 V(LoadExternalArrayPointer) \
121 V(LoadFunctionPrototype) \ 121 V(LoadFunctionPrototype) \
122 V(LoadGlobalCell) \ 122 V(LoadGlobalCell) \
123 V(LoadGlobalGeneric) \ 123 V(LoadGlobalGeneric) \
124 V(LoadKeyedFastDoubleElement) \
124 V(LoadKeyedFastElement) \ 125 V(LoadKeyedFastElement) \
125 V(LoadKeyedGeneric) \ 126 V(LoadKeyedGeneric) \
126 V(LoadKeyedSpecializedArrayElement) \ 127 V(LoadKeyedSpecializedArrayElement) \
127 V(LoadNamedField) \ 128 V(LoadNamedField) \
128 V(LoadNamedFieldPolymorphic) \ 129 V(LoadNamedFieldPolymorphic) \
129 V(LoadNamedGeneric) \ 130 V(LoadNamedGeneric) \
130 V(ModI) \ 131 V(ModI) \
131 V(MulI) \ 132 V(MulI) \
132 V(NumberTagD) \ 133 V(NumberTagD) \
133 V(NumberTagI) \ 134 V(NumberTagI) \
134 V(NumberUntagD) \ 135 V(NumberUntagD) \
135 V(ObjectLiteral) \ 136 V(ObjectLiteral) \
136 V(OsrEntry) \ 137 V(OsrEntry) \
137 V(OuterContext) \ 138 V(OuterContext) \
138 V(Parameter) \ 139 V(Parameter) \
139 V(Power) \ 140 V(Power) \
140 V(PushArgument) \ 141 V(PushArgument) \
141 V(RegExpLiteral) \ 142 V(RegExpLiteral) \
142 V(Return) \ 143 V(Return) \
143 V(ShiftI) \ 144 V(ShiftI) \
144 V(SmiTag) \ 145 V(SmiTag) \
145 V(SmiUntag) \ 146 V(SmiUntag) \
146 V(StackCheck) \ 147 V(StackCheck) \
147 V(StoreContextSlot) \ 148 V(StoreContextSlot) \
148 V(StoreGlobalCell) \ 149 V(StoreGlobalCell) \
149 V(StoreGlobalGeneric) \ 150 V(StoreGlobalGeneric) \
151 V(StoreKeyedFastDoubleElement) \
150 V(StoreKeyedFastElement) \ 152 V(StoreKeyedFastElement) \
151 V(StoreKeyedGeneric) \ 153 V(StoreKeyedGeneric) \
152 V(StoreKeyedSpecializedArrayElement) \ 154 V(StoreKeyedSpecializedArrayElement) \
153 V(StoreNamedField) \ 155 V(StoreNamedField) \
154 V(StoreNamedGeneric) \ 156 V(StoreNamedGeneric) \
155 V(StringAdd) \ 157 V(StringAdd) \
156 V(StringCharCodeAt) \ 158 V(StringCharCodeAt) \
157 V(StringCharFromCode) \ 159 V(StringCharFromCode) \
158 V(StringLength) \ 160 V(StringLength) \
159 V(SubI) \ 161 V(SubI) \
(...skipping 970 matching lines...) Expand 10 before | Expand all | Expand 10 after
1130 } 1132 }
1131 1133
1132 DECLARE_CONCRETE_INSTRUCTION(LoadKeyedFastElement, "load-keyed-fast-element") 1134 DECLARE_CONCRETE_INSTRUCTION(LoadKeyedFastElement, "load-keyed-fast-element")
1133 DECLARE_HYDROGEN_ACCESSOR(LoadKeyedFastElement) 1135 DECLARE_HYDROGEN_ACCESSOR(LoadKeyedFastElement)
1134 1136
1135 LOperand* elements() { return inputs_[0]; } 1137 LOperand* elements() { return inputs_[0]; }
1136 LOperand* key() { return inputs_[1]; } 1138 LOperand* key() { return inputs_[1]; }
1137 }; 1139 };
1138 1140
1139 1141
1142 class LLoadKeyedFastDoubleElement: public LTemplateInstruction<1, 2, 0> {
1143 public:
1144 LLoadKeyedFastDoubleElement(LOperand* elements, LOperand* key) {
1145 inputs_[0] = elements;
1146 inputs_[1] = key;
1147 }
1148
1149 DECLARE_CONCRETE_INSTRUCTION(LoadKeyedFastDoubleElement,
1150 "load-keyed-fast-double-element")
1151 DECLARE_HYDROGEN_ACCESSOR(LoadKeyedFastDoubleElement)
1152
1153 LOperand* elements() { return inputs_[0]; }
1154 LOperand* key() { return inputs_[1]; }
1155 };
1156
1157
1140 class LLoadKeyedSpecializedArrayElement: public LTemplateInstruction<1, 2, 0> { 1158 class LLoadKeyedSpecializedArrayElement: public LTemplateInstruction<1, 2, 0> {
1141 public: 1159 public:
1142 LLoadKeyedSpecializedArrayElement(LOperand* external_pointer, 1160 LLoadKeyedSpecializedArrayElement(LOperand* external_pointer,
1143 LOperand* key) { 1161 LOperand* key) {
1144 inputs_[0] = external_pointer; 1162 inputs_[0] = external_pointer;
1145 inputs_[1] = key; 1163 inputs_[1] = key;
1146 } 1164 }
1147 1165
1148 DECLARE_CONCRETE_INSTRUCTION(LoadKeyedSpecializedArrayElement, 1166 DECLARE_CONCRETE_INSTRUCTION(LoadKeyedSpecializedArrayElement,
1149 "load-keyed-specialized-array-element") 1167 "load-keyed-specialized-array-element")
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after
1590 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedFastElement) 1608 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedFastElement)
1591 1609
1592 virtual void PrintDataTo(StringStream* stream); 1610 virtual void PrintDataTo(StringStream* stream);
1593 1611
1594 LOperand* object() { return inputs_[0]; } 1612 LOperand* object() { return inputs_[0]; }
1595 LOperand* key() { return inputs_[1]; } 1613 LOperand* key() { return inputs_[1]; }
1596 LOperand* value() { return inputs_[2]; } 1614 LOperand* value() { return inputs_[2]; }
1597 }; 1615 };
1598 1616
1599 1617
1618 class LStoreKeyedFastDoubleElement: public LTemplateInstruction<0, 3, 0> {
1619 public:
1620 LStoreKeyedFastDoubleElement(LOperand* elements,
1621 LOperand* key,
1622 LOperand* val) {
1623 inputs_[0] = elements;
1624 inputs_[1] = key;
1625 inputs_[2] = val;
1626 }
1627
1628 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedFastDoubleElement,
1629 "store-keyed-fast-double-element")
1630 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedFastDoubleElement)
1631
1632 virtual void PrintDataTo(StringStream* stream);
1633
1634 LOperand* elements() { return inputs_[0]; }
1635 LOperand* key() { return inputs_[1]; }
1636 LOperand* value() { return inputs_[2]; }
1637 };
1638
1639
1600 class LStoreKeyedGeneric: public LTemplateInstruction<0, 3, 0> { 1640 class LStoreKeyedGeneric: public LTemplateInstruction<0, 3, 0> {
1601 public: 1641 public:
1602 LStoreKeyedGeneric(LOperand* obj, LOperand* key, LOperand* val) { 1642 LStoreKeyedGeneric(LOperand* obj, LOperand* key, LOperand* val) {
1603 inputs_[0] = obj; 1643 inputs_[0] = obj;
1604 inputs_[1] = key; 1644 inputs_[1] = key;
1605 inputs_[2] = val; 1645 inputs_[2] = val;
1606 } 1646 }
1607 1647
1608 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedGeneric, "store-keyed-generic") 1648 DECLARE_CONCRETE_INSTRUCTION(StoreKeyedGeneric, "store-keyed-generic")
1609 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedGeneric) 1649 DECLARE_HYDROGEN_ACCESSOR(StoreKeyedGeneric)
(...skipping 547 matching lines...) Expand 10 before | Expand all | Expand 10 after
2157 2197
2158 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2198 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2159 }; 2199 };
2160 2200
2161 #undef DECLARE_HYDROGEN_ACCESSOR 2201 #undef DECLARE_HYDROGEN_ACCESSOR
2162 #undef DECLARE_CONCRETE_INSTRUCTION 2202 #undef DECLARE_CONCRETE_INSTRUCTION
2163 2203
2164 } } // namespace v8::internal 2204 } } // namespace v8::internal
2165 2205
2166 #endif // V8_ARM_LITHIUM_ARM_H_ 2206 #endif // V8_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/lithium-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698