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

Side by Side Diff: src/compiler/opcodes.h

Issue 2191883002: [turbofan] Adds speculative opcodes for shift right. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Really fix the merge conflicts. Created 4 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
« no previous file with comments | « src/compiler/js-typed-lowering.cc ('k') | src/compiler/simplified-lowering.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 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 #include <iosfwd> 8 #include <iosfwd>
9 9
10 // Opcodes for control operators. 10 // Opcodes for control operators.
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 197
198 #define SIMPLIFIED_COMPARE_BINOP_LIST(V) \ 198 #define SIMPLIFIED_COMPARE_BINOP_LIST(V) \
199 V(NumberEqual) \ 199 V(NumberEqual) \
200 V(NumberLessThan) \ 200 V(NumberLessThan) \
201 V(NumberLessThanOrEqual) \ 201 V(NumberLessThanOrEqual) \
202 V(ReferenceEqual) \ 202 V(ReferenceEqual) \
203 V(StringEqual) \ 203 V(StringEqual) \
204 V(StringLessThan) \ 204 V(StringLessThan) \
205 V(StringLessThanOrEqual) 205 V(StringLessThanOrEqual)
206 206
207 #define SIMPLIFIED_OTHER_OP_LIST(V) \ 207 #define SIMPLIFIED_OTHER_OP_LIST(V) \
208 V(PlainPrimitiveToNumber) \ 208 V(PlainPrimitiveToNumber) \
209 V(PlainPrimitiveToWord32) \ 209 V(PlainPrimitiveToWord32) \
210 V(PlainPrimitiveToFloat64) \ 210 V(PlainPrimitiveToFloat64) \
211 V(BooleanNot) \ 211 V(BooleanNot) \
212 V(SpeculativeNumberAdd) \ 212 V(SpeculativeNumberAdd) \
213 V(SpeculativeNumberSubtract) \ 213 V(SpeculativeNumberSubtract) \
214 V(SpeculativeNumberMultiply) \ 214 V(SpeculativeNumberMultiply) \
215 V(SpeculativeNumberDivide) \ 215 V(SpeculativeNumberDivide) \
216 V(SpeculativeNumberModulus) \ 216 V(SpeculativeNumberModulus) \
217 V(SpeculativeNumberEqual) \ 217 V(SpeculativeNumberEqual) \
218 V(SpeculativeNumberLessThan) \ 218 V(SpeculativeNumberLessThan) \
219 V(SpeculativeNumberLessThanOrEqual) \ 219 V(SpeculativeNumberLessThanOrEqual) \
220 V(NumberAdd) \ 220 V(NumberAdd) \
221 V(NumberSubtract) \ 221 V(NumberSubtract) \
222 V(NumberMultiply) \ 222 V(NumberMultiply) \
223 V(NumberDivide) \ 223 V(NumberDivide) \
224 V(NumberModulus) \ 224 V(NumberModulus) \
225 V(NumberBitwiseOr) \ 225 V(NumberBitwiseOr) \
226 V(NumberBitwiseXor) \ 226 V(NumberBitwiseXor) \
227 V(NumberBitwiseAnd) \ 227 V(NumberBitwiseAnd) \
228 V(NumberShiftLeft) \ 228 V(NumberShiftLeft) \
229 V(SpeculativeNumberShiftLeft) \ 229 V(SpeculativeNumberShiftLeft) \
230 V(NumberShiftRight) \ 230 V(SpeculativeNumberShiftRight) \
231 V(NumberShiftRightLogical) \ 231 V(SpeculativeNumberShiftRightLogical) \
232 V(NumberImul) \ 232 V(NumberShiftRight) \
233 V(NumberAbs) \ 233 V(NumberShiftRightLogical) \
234 V(NumberClz32) \ 234 V(NumberImul) \
235 V(NumberCeil) \ 235 V(NumberAbs) \
236 V(NumberCos) \ 236 V(NumberClz32) \
237 V(NumberCosh) \ 237 V(NumberCeil) \
238 V(NumberFloor) \ 238 V(NumberCos) \
239 V(NumberFround) \ 239 V(NumberCosh) \
240 V(NumberAcos) \ 240 V(NumberFloor) \
241 V(NumberAcosh) \ 241 V(NumberFround) \
242 V(NumberAsin) \ 242 V(NumberAcos) \
243 V(NumberAsinh) \ 243 V(NumberAcosh) \
244 V(NumberAtan) \ 244 V(NumberAsin) \
245 V(NumberAtanh) \ 245 V(NumberAsinh) \
246 V(NumberAtan2) \ 246 V(NumberAtan) \
247 V(NumberExp) \ 247 V(NumberAtanh) \
248 V(NumberExpm1) \ 248 V(NumberAtan2) \
249 V(NumberLog) \ 249 V(NumberExp) \
250 V(NumberLog1p) \ 250 V(NumberExpm1) \
251 V(NumberLog2) \ 251 V(NumberLog) \
252 V(NumberLog10) \ 252 V(NumberLog1p) \
253 V(NumberMax) \ 253 V(NumberLog2) \
254 V(NumberMin) \ 254 V(NumberLog10) \
255 V(NumberCbrt) \ 255 V(NumberMax) \
256 V(NumberPow) \ 256 V(NumberMin) \
257 V(NumberRound) \ 257 V(NumberCbrt) \
258 V(NumberSign) \ 258 V(NumberPow) \
259 V(NumberSin) \ 259 V(NumberRound) \
260 V(NumberSinh) \ 260 V(NumberSign) \
261 V(NumberSqrt) \ 261 V(NumberSin) \
262 V(NumberTan) \ 262 V(NumberSinh) \
263 V(NumberTanh) \ 263 V(NumberSqrt) \
264 V(NumberTrunc) \ 264 V(NumberTan) \
265 V(NumberToInt32) \ 265 V(NumberTanh) \
266 V(NumberToUint32) \ 266 V(NumberTrunc) \
267 V(NumberSilenceNaN) \ 267 V(NumberToInt32) \
268 V(StringCharCodeAt) \ 268 V(NumberToUint32) \
269 V(StringFromCharCode) \ 269 V(NumberSilenceNaN) \
270 V(CheckBounds) \ 270 V(StringCharCodeAt) \
271 V(CheckIf) \ 271 V(StringFromCharCode) \
272 V(CheckMaps) \ 272 V(CheckBounds) \
273 V(CheckNumber) \ 273 V(CheckIf) \
274 V(CheckString) \ 274 V(CheckMaps) \
275 V(CheckTaggedPointer) \ 275 V(CheckNumber) \
276 V(CheckTaggedSigned) \ 276 V(CheckString) \
277 V(CheckFloat64Hole) \ 277 V(CheckTaggedPointer) \
278 V(CheckTaggedHole) \ 278 V(CheckTaggedSigned) \
279 V(Allocate) \ 279 V(CheckFloat64Hole) \
280 V(LoadField) \ 280 V(CheckTaggedHole) \
281 V(LoadBuffer) \ 281 V(Allocate) \
282 V(LoadElement) \ 282 V(LoadField) \
283 V(StoreField) \ 283 V(LoadBuffer) \
284 V(StoreBuffer) \ 284 V(LoadElement) \
285 V(StoreElement) \ 285 V(StoreField) \
286 V(ObjectIsCallable) \ 286 V(StoreBuffer) \
287 V(ObjectIsNumber) \ 287 V(StoreElement) \
288 V(ObjectIsReceiver) \ 288 V(ObjectIsCallable) \
289 V(ObjectIsSmi) \ 289 V(ObjectIsNumber) \
290 V(ObjectIsString) \ 290 V(ObjectIsReceiver) \
291 V(ObjectIsUndetectable) \ 291 V(ObjectIsSmi) \
292 V(ObjectIsString) \
293 V(ObjectIsUndetectable) \
292 V(TransitionElementsKind) 294 V(TransitionElementsKind)
293 295
294 #define SIMPLIFIED_OP_LIST(V) \ 296 #define SIMPLIFIED_OP_LIST(V) \
295 SIMPLIFIED_CHANGE_OP_LIST(V) \ 297 SIMPLIFIED_CHANGE_OP_LIST(V) \
296 SIMPLIFIED_CHECKED_OP_LIST(V) \ 298 SIMPLIFIED_CHECKED_OP_LIST(V) \
297 SIMPLIFIED_COMPARE_BINOP_LIST(V) \ 299 SIMPLIFIED_COMPARE_BINOP_LIST(V) \
298 SIMPLIFIED_OTHER_OP_LIST(V) 300 SIMPLIFIED_OTHER_OP_LIST(V)
299 301
300 // Opcodes for Machine-level operators. 302 // Opcodes for Machine-level operators.
301 #define MACHINE_COMPARE_BINOP_LIST(V) \ 303 #define MACHINE_COMPARE_BINOP_LIST(V) \
(...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after
735 } 737 }
736 }; 738 };
737 739
738 std::ostream& operator<<(std::ostream&, IrOpcode::Value); 740 std::ostream& operator<<(std::ostream&, IrOpcode::Value);
739 741
740 } // namespace compiler 742 } // namespace compiler
741 } // namespace internal 743 } // namespace internal
742 } // namespace v8 744 } // namespace v8
743 745
744 #endif // V8_COMPILER_OPCODES_H_ 746 #endif // V8_COMPILER_OPCODES_H_
OLDNEW
« no previous file with comments | « src/compiler/js-typed-lowering.cc ('k') | src/compiler/simplified-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698