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

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

Issue 5550003: Add optimized compiler support for generic global loads.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: ported to x64 and arm Created 9 years, 9 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 V(IsSmi) \ 112 V(IsSmi) \
113 V(IsSmiAndBranch) \ 113 V(IsSmiAndBranch) \
114 V(JSArrayLength) \ 114 V(JSArrayLength) \
115 V(Label) \ 115 V(Label) \
116 V(LazyBailout) \ 116 V(LazyBailout) \
117 V(LoadContextSlot) \ 117 V(LoadContextSlot) \
118 V(LoadElements) \ 118 V(LoadElements) \
119 V(LoadExternalArrayPointer) \ 119 V(LoadExternalArrayPointer) \
120 V(LoadFunctionPrototype) \ 120 V(LoadFunctionPrototype) \
121 V(LoadGlobal) \ 121 V(LoadGlobal) \
122 V(LoadGlobalGeneric) \
122 V(LoadKeyedFastElement) \ 123 V(LoadKeyedFastElement) \
123 V(LoadKeyedGeneric) \ 124 V(LoadKeyedGeneric) \
124 V(LoadNamedField) \ 125 V(LoadNamedField) \
125 V(LoadNamedGeneric) \ 126 V(LoadNamedGeneric) \
126 V(LoadPixelArrayElement) \ 127 V(LoadPixelArrayElement) \
127 V(ModI) \ 128 V(ModI) \
128 V(MulI) \ 129 V(MulI) \
129 V(NumberTagD) \ 130 V(NumberTagD) \
130 V(NumberTagI) \ 131 V(NumberTagI) \
131 V(NumberUntagD) \ 132 V(NumberUntagD) \
(...skipping 1088 matching lines...) Expand 10 before | Expand all | Expand 10 after
1220 }; 1221 };
1221 1222
1222 1223
1223 class LLoadGlobal: public LTemplateInstruction<1, 0, 0> { 1224 class LLoadGlobal: public LTemplateInstruction<1, 0, 0> {
1224 public: 1225 public:
1225 DECLARE_CONCRETE_INSTRUCTION(LoadGlobal, "load-global") 1226 DECLARE_CONCRETE_INSTRUCTION(LoadGlobal, "load-global")
1226 DECLARE_HYDROGEN_ACCESSOR(LoadGlobal) 1227 DECLARE_HYDROGEN_ACCESSOR(LoadGlobal)
1227 }; 1228 };
1228 1229
1229 1230
1231 class LLoadGlobalGeneric: public LTemplateInstruction<1, 0, 0> {
1232 public:
1233 DECLARE_CONCRETE_INSTRUCTION(LoadGlobalGeneric, "load-global-generic")
1234 DECLARE_HYDROGEN_ACCESSOR(LoadGlobalGeneric)
1235 };
1236
1237
1230 class LStoreGlobal: public LTemplateInstruction<0, 1, 1> { 1238 class LStoreGlobal: public LTemplateInstruction<0, 1, 1> {
1231 public: 1239 public:
1232 LStoreGlobal(LOperand* value, LOperand* temp) { 1240 LStoreGlobal(LOperand* value, LOperand* temp) {
1233 inputs_[0] = value; 1241 inputs_[0] = value;
1234 temps_[0] = temp; 1242 temps_[0] = temp;
1235 } 1243 }
1236 1244
1237 DECLARE_CONCRETE_INSTRUCTION(StoreGlobal, "store-global") 1245 DECLARE_CONCRETE_INSTRUCTION(StoreGlobal, "store-global")
1238 DECLARE_HYDROGEN_ACCESSOR(StoreGlobal) 1246 DECLARE_HYDROGEN_ACCESSOR(StoreGlobal)
1239 }; 1247 };
(...skipping 822 matching lines...) Expand 10 before | Expand all | Expand 10 after
2062 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2070 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2063 }; 2071 };
2064 2072
2065 #undef DECLARE_HYDROGEN_ACCESSOR 2073 #undef DECLARE_HYDROGEN_ACCESSOR
2066 #undef DECLARE_INSTRUCTION 2074 #undef DECLARE_INSTRUCTION
2067 #undef DECLARE_CONCRETE_INSTRUCTION 2075 #undef DECLARE_CONCRETE_INSTRUCTION
2068 2076
2069 } } // namespace v8::internal 2077 } } // namespace v8::internal
2070 2078
2071 #endif // V8_ARM_LITHIUM_ARM_H_ 2079 #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