OLD | NEW |
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_MACHINE_OPERATOR_H_ | 5 #ifndef V8_COMPILER_MACHINE_OPERATOR_H_ |
6 #define V8_COMPILER_MACHINE_OPERATOR_H_ | 6 #define V8_COMPILER_MACHINE_OPERATOR_H_ |
7 | 7 |
8 #include "src/base/flags.h" | 8 #include "src/base/flags.h" |
9 #include "src/machine-type.h" | 9 #include "src/machine-type.h" |
10 | 10 |
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
343 // Pseudo operators that translate to 32/64-bit operators depending on the | 343 // Pseudo operators that translate to 32/64-bit operators depending on the |
344 // word-size of the target machine assumed by this builder. | 344 // word-size of the target machine assumed by this builder. |
345 #define PSEUDO_OP_LIST(V) \ | 345 #define PSEUDO_OP_LIST(V) \ |
346 V(Word, And) \ | 346 V(Word, And) \ |
347 V(Word, Or) \ | 347 V(Word, Or) \ |
348 V(Word, Xor) \ | 348 V(Word, Xor) \ |
349 V(Word, Shl) \ | 349 V(Word, Shl) \ |
350 V(Word, Shr) \ | 350 V(Word, Shr) \ |
351 V(Word, Sar) \ | 351 V(Word, Sar) \ |
352 V(Word, Ror) \ | 352 V(Word, Ror) \ |
| 353 V(Word, Clz) \ |
353 V(Word, Equal) \ | 354 V(Word, Equal) \ |
354 V(Int, Add) \ | 355 V(Int, Add) \ |
355 V(Int, Sub) \ | 356 V(Int, Sub) \ |
356 V(Int, Mul) \ | 357 V(Int, Mul) \ |
357 V(Int, Div) \ | 358 V(Int, Div) \ |
358 V(Int, Mod) \ | 359 V(Int, Mod) \ |
359 V(Int, LessThan) \ | 360 V(Int, LessThan) \ |
360 V(Int, LessThanOrEqual) \ | 361 V(Int, LessThanOrEqual) \ |
361 V(Uint, Div) \ | 362 V(Uint, Div) \ |
362 V(Uint, LessThan) \ | 363 V(Uint, LessThan) \ |
(...skipping 15 matching lines...) Expand all Loading... |
378 }; | 379 }; |
379 | 380 |
380 | 381 |
381 DEFINE_OPERATORS_FOR_FLAGS(MachineOperatorBuilder::Flags) | 382 DEFINE_OPERATORS_FOR_FLAGS(MachineOperatorBuilder::Flags) |
382 | 383 |
383 } // namespace compiler | 384 } // namespace compiler |
384 } // namespace internal | 385 } // namespace internal |
385 } // namespace v8 | 386 } // namespace v8 |
386 | 387 |
387 #endif // V8_COMPILER_MACHINE_OPERATOR_H_ | 388 #endif // V8_COMPILER_MACHINE_OPERATOR_H_ |
OLD | NEW |