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_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 491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
502 V(Uint8x16GreaterThanOrEqual) \ | 502 V(Uint8x16GreaterThanOrEqual) \ |
503 V(CreateBool8x16) \ | 503 V(CreateBool8x16) \ |
504 V(Bool8x16ReplaceLane) \ | 504 V(Bool8x16ReplaceLane) \ |
505 V(Bool8x16And) \ | 505 V(Bool8x16And) \ |
506 V(Bool8x16Or) \ | 506 V(Bool8x16Or) \ |
507 V(Bool8x16Xor) \ | 507 V(Bool8x16Xor) \ |
508 V(Bool8x16Not) \ | 508 V(Bool8x16Not) \ |
509 V(Bool8x16Swizzle) \ | 509 V(Bool8x16Swizzle) \ |
510 V(Bool8x16Shuffle) \ | 510 V(Bool8x16Shuffle) \ |
511 V(Bool8x16Equal) \ | 511 V(Bool8x16Equal) \ |
512 V(Bool8x16NotEqual) \ | 512 V(Bool8x16NotEqual) |
513 V(Simd128Load) \ | |
514 V(Simd128Load1) \ | |
515 V(Simd128Load2) \ | |
516 V(Simd128Load3) \ | |
517 V(Simd128Store) \ | |
518 V(Simd128Store1) \ | |
519 V(Simd128Store2) \ | |
520 V(Simd128Store3) \ | |
521 V(Simd128And) \ | |
522 V(Simd128Or) \ | |
523 V(Simd128Xor) \ | |
524 V(Simd128Not) | |
525 | 513 |
526 #define MACHINE_SIMD_RETURN_NUM_OP_LIST(V) \ | 514 #define MACHINE_SIMD_RETURN_NUM_OP_LIST(V) \ |
527 V(Float32x4ExtractLane) \ | 515 V(Float32x4ExtractLane) \ |
528 V(Int32x4ExtractLane) \ | 516 V(Int32x4ExtractLane) \ |
529 V(Int16x8ExtractLane) \ | 517 V(Int16x8ExtractLane) \ |
530 V(Int8x16ExtractLane) | 518 V(Int8x16ExtractLane) |
531 | 519 |
532 #define MACHINE_SIMD_RETURN_BOOL_OP_LIST(V) \ | 520 #define MACHINE_SIMD_RETURN_BOOL_OP_LIST(V) \ |
533 V(Bool32x4ExtractLane) \ | 521 V(Bool32x4ExtractLane) \ |
534 V(Bool32x4AnyTrue) \ | 522 V(Bool32x4AnyTrue) \ |
535 V(Bool32x4AllTrue) \ | 523 V(Bool32x4AllTrue) \ |
536 V(Bool16x8ExtractLane) \ | 524 V(Bool16x8ExtractLane) \ |
537 V(Bool16x8AnyTrue) \ | 525 V(Bool16x8AnyTrue) \ |
538 V(Bool16x8AllTrue) \ | 526 V(Bool16x8AllTrue) \ |
539 V(Bool8x16ExtractLane) \ | 527 V(Bool8x16ExtractLane) \ |
540 V(Bool8x16AnyTrue) \ | 528 V(Bool8x16AnyTrue) \ |
541 V(Bool8x16AllTrue) | 529 V(Bool8x16AllTrue) |
542 | 530 |
| 531 #define MACHINE_SIMD_GENERIC_OP_LIST(V) \ |
| 532 V(Simd128Load) \ |
| 533 V(Simd128Load1) \ |
| 534 V(Simd128Load2) \ |
| 535 V(Simd128Load3) \ |
| 536 V(Simd128Store) \ |
| 537 V(Simd128Store1) \ |
| 538 V(Simd128Store2) \ |
| 539 V(Simd128Store3) \ |
| 540 V(Simd128And) \ |
| 541 V(Simd128Or) \ |
| 542 V(Simd128Xor) \ |
| 543 V(Simd128Not) |
| 544 |
543 #define MACHINE_SIMD_OP_LIST(V) \ | 545 #define MACHINE_SIMD_OP_LIST(V) \ |
544 MACHINE_SIMD_RETURN_SIMD_OP_LIST(V) \ | 546 MACHINE_SIMD_RETURN_SIMD_OP_LIST(V) \ |
545 MACHINE_SIMD_RETURN_NUM_OP_LIST(V) \ | 547 MACHINE_SIMD_RETURN_NUM_OP_LIST(V) \ |
546 MACHINE_SIMD_RETURN_BOOL_OP_LIST(V) | 548 MACHINE_SIMD_RETURN_BOOL_OP_LIST(V) \ |
| 549 MACHINE_SIMD_GENERIC_OP_LIST(V) |
547 | 550 |
548 #define VALUE_OP_LIST(V) \ | 551 #define VALUE_OP_LIST(V) \ |
549 COMMON_OP_LIST(V) \ | 552 COMMON_OP_LIST(V) \ |
550 SIMPLIFIED_OP_LIST(V) \ | 553 SIMPLIFIED_OP_LIST(V) \ |
551 MACHINE_OP_LIST(V) \ | 554 MACHINE_OP_LIST(V) \ |
552 MACHINE_SIMD_OP_LIST(V) \ | 555 MACHINE_SIMD_OP_LIST(V) \ |
553 JS_OP_LIST(V) | 556 JS_OP_LIST(V) |
554 | 557 |
555 // The combination of all operators at all levels and the common operators. | 558 // The combination of all operators at all levels and the common operators. |
556 #define ALL_OP_LIST(V) \ | 559 #define ALL_OP_LIST(V) \ |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
623 } | 626 } |
624 }; | 627 }; |
625 | 628 |
626 std::ostream& operator<<(std::ostream&, IrOpcode::Value); | 629 std::ostream& operator<<(std::ostream&, IrOpcode::Value); |
627 | 630 |
628 } // namespace compiler | 631 } // namespace compiler |
629 } // namespace internal | 632 } // namespace internal |
630 } // namespace v8 | 633 } // namespace v8 |
631 | 634 |
632 #endif // V8_COMPILER_OPCODES_H_ | 635 #endif // V8_COMPILER_OPCODES_H_ |
OLD | NEW |