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/compiler/opcodes.h

Issue 763963002: [turbofan] Add checked load/store operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Reapply fix. Created 6 years 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
« no previous file with comments | « src/compiler/machine-operator-reducer.cc ('k') | src/compiler/simplified-lowering.h » ('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 // 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_COMPILER_OPCODES_H_ 5 #ifndef V8_COMPILER_OPCODES_H_
6 #define V8_COMPILER_OPCODES_H_ 6 #define V8_COMPILER_OPCODES_H_
7 7
8 // Opcodes for control operators. 8 // Opcodes for control operators.
9 #define INNER_CONTROL_OP_LIST(V) \ 9 #define INNER_CONTROL_OP_LIST(V) \
10 V(Dead) \ 10 V(Dead) \
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 V(StringAdd) \ 151 V(StringAdd) \
152 V(ChangeTaggedToInt32) \ 152 V(ChangeTaggedToInt32) \
153 V(ChangeTaggedToUint32) \ 153 V(ChangeTaggedToUint32) \
154 V(ChangeTaggedToFloat64) \ 154 V(ChangeTaggedToFloat64) \
155 V(ChangeInt32ToTagged) \ 155 V(ChangeInt32ToTagged) \
156 V(ChangeUint32ToTagged) \ 156 V(ChangeUint32ToTagged) \
157 V(ChangeFloat64ToTagged) \ 157 V(ChangeFloat64ToTagged) \
158 V(ChangeBoolToBit) \ 158 V(ChangeBoolToBit) \
159 V(ChangeBitToBool) \ 159 V(ChangeBitToBool) \
160 V(LoadField) \ 160 V(LoadField) \
161 V(LoadBuffer) \
161 V(LoadElement) \ 162 V(LoadElement) \
162 V(StoreField) \ 163 V(StoreField) \
164 V(StoreBuffer) \
163 V(StoreElement) \ 165 V(StoreElement) \
164 V(ObjectIsSmi) \ 166 V(ObjectIsSmi) \
165 V(ObjectIsNonNegativeSmi) 167 V(ObjectIsNonNegativeSmi)
166 168
167 // Opcodes for Machine-level operators. 169 // Opcodes for Machine-level operators.
168 #define MACHINE_OP_LIST(V) \ 170 #define MACHINE_OP_LIST(V) \
169 V(Load) \ 171 V(Load) \
170 V(Store) \ 172 V(Store) \
171 V(Word32And) \ 173 V(Word32And) \
172 V(Word32Or) \ 174 V(Word32Or) \
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 V(Float64Div) \ 227 V(Float64Div) \
226 V(Float64Mod) \ 228 V(Float64Mod) \
227 V(Float64Sqrt) \ 229 V(Float64Sqrt) \
228 V(Float64Equal) \ 230 V(Float64Equal) \
229 V(Float64LessThan) \ 231 V(Float64LessThan) \
230 V(Float64LessThanOrEqual) \ 232 V(Float64LessThanOrEqual) \
231 V(Float64Floor) \ 233 V(Float64Floor) \
232 V(Float64Ceil) \ 234 V(Float64Ceil) \
233 V(Float64RoundTruncate) \ 235 V(Float64RoundTruncate) \
234 V(Float64RoundTiesAway) \ 236 V(Float64RoundTiesAway) \
235 V(LoadStackPointer) 237 V(LoadStackPointer) \
238 V(CheckedLoad) \
239 V(CheckedStore)
236 240
237 #define VALUE_OP_LIST(V) \ 241 #define VALUE_OP_LIST(V) \
238 COMMON_OP_LIST(V) \ 242 COMMON_OP_LIST(V) \
239 SIMPLIFIED_OP_LIST(V) \ 243 SIMPLIFIED_OP_LIST(V) \
240 MACHINE_OP_LIST(V) \ 244 MACHINE_OP_LIST(V) \
241 JS_OP_LIST(V) 245 JS_OP_LIST(V)
242 246
243 // The combination of all operators at all levels and the common operators. 247 // The combination of all operators at all levels and the common operators.
244 #define ALL_OP_LIST(V) \ 248 #define ALL_OP_LIST(V) \
245 CONTROL_OP_LIST(V) \ 249 CONTROL_OP_LIST(V) \
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 return false; 333 return false;
330 } 334 }
331 } 335 }
332 }; 336 };
333 337
334 } // namespace compiler 338 } // namespace compiler
335 } // namespace internal 339 } // namespace internal
336 } // namespace v8 340 } // namespace v8
337 341
338 #endif // V8_COMPILER_OPCODES_H_ 342 #endif // V8_COMPILER_OPCODES_H_
OLDNEW
« no previous file with comments | « src/compiler/machine-operator-reducer.cc ('k') | src/compiler/simplified-lowering.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698