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

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

Issue 2683713003: [Turbofan] Add more non-arithmetic SIMD operations. (Closed)
Patch Set: Rebase. Created 3 years, 10 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/machine-operator.cc ('k') | src/compiler/wasm-compiler.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 #include <iosfwd> 8 #include <iosfwd>
9 9
10 #include "src/globals.h" 10 #include "src/globals.h"
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after
621 V(Int16x8Min) \ 621 V(Int16x8Min) \
622 V(Int16x8Max) \ 622 V(Int16x8Max) \
623 V(Int16x8ShiftLeftByScalar) \ 623 V(Int16x8ShiftLeftByScalar) \
624 V(Int16x8ShiftRightByScalar) \ 624 V(Int16x8ShiftRightByScalar) \
625 V(Int16x8Equal) \ 625 V(Int16x8Equal) \
626 V(Int16x8NotEqual) \ 626 V(Int16x8NotEqual) \
627 V(Int16x8LessThan) \ 627 V(Int16x8LessThan) \
628 V(Int16x8LessThanOrEqual) \ 628 V(Int16x8LessThanOrEqual) \
629 V(Int16x8GreaterThan) \ 629 V(Int16x8GreaterThan) \
630 V(Int16x8GreaterThanOrEqual) \ 630 V(Int16x8GreaterThanOrEqual) \
631 V(Int16x8Select) \
632 V(Int16x8Swizzle) \
633 V(Int16x8Shuffle) \
634 V(Uint16x8AddSaturate) \ 631 V(Uint16x8AddSaturate) \
635 V(Uint16x8SubSaturate) \ 632 V(Uint16x8SubSaturate) \
636 V(Uint16x8Min) \ 633 V(Uint16x8Min) \
637 V(Uint16x8Max) \ 634 V(Uint16x8Max) \
638 V(Uint16x8ShiftLeftByScalar) \ 635 V(Uint16x8ShiftLeftByScalar) \
639 V(Uint16x8ShiftRightByScalar) \ 636 V(Uint16x8ShiftRightByScalar) \
640 V(Uint16x8LessThan) \ 637 V(Uint16x8LessThan) \
641 V(Uint16x8LessThanOrEqual) \ 638 V(Uint16x8LessThanOrEqual) \
642 V(Uint16x8GreaterThan) \ 639 V(Uint16x8GreaterThan) \
643 V(Uint16x8GreaterThanOrEqual) \ 640 V(Uint16x8GreaterThanOrEqual) \
(...skipping 18 matching lines...) Expand all
662 V(Int8x16Min) \ 659 V(Int8x16Min) \
663 V(Int8x16Max) \ 660 V(Int8x16Max) \
664 V(Int8x16ShiftLeftByScalar) \ 661 V(Int8x16ShiftLeftByScalar) \
665 V(Int8x16ShiftRightByScalar) \ 662 V(Int8x16ShiftRightByScalar) \
666 V(Int8x16Equal) \ 663 V(Int8x16Equal) \
667 V(Int8x16NotEqual) \ 664 V(Int8x16NotEqual) \
668 V(Int8x16LessThan) \ 665 V(Int8x16LessThan) \
669 V(Int8x16LessThanOrEqual) \ 666 V(Int8x16LessThanOrEqual) \
670 V(Int8x16GreaterThan) \ 667 V(Int8x16GreaterThan) \
671 V(Int8x16GreaterThanOrEqual) \ 668 V(Int8x16GreaterThanOrEqual) \
672 V(Int8x16Select) \
673 V(Int8x16Swizzle) \
674 V(Int8x16Shuffle) \
675 V(Uint8x16AddSaturate) \ 669 V(Uint8x16AddSaturate) \
676 V(Uint8x16SubSaturate) \ 670 V(Uint8x16SubSaturate) \
677 V(Uint8x16Min) \ 671 V(Uint8x16Min) \
678 V(Uint8x16Max) \ 672 V(Uint8x16Max) \
679 V(Uint8x16ShiftLeftByScalar) \ 673 V(Uint8x16ShiftLeftByScalar) \
680 V(Uint8x16ShiftRightByScalar) \ 674 V(Uint8x16ShiftRightByScalar) \
681 V(Uint8x16LessThan) \ 675 V(Uint8x16LessThan) \
682 V(Uint8x16LessThanOrEqual) \ 676 V(Uint8x16LessThanOrEqual) \
683 V(Uint8x16GreaterThan) \ 677 V(Uint8x16GreaterThan) \
684 V(Uint8x16GreaterThanOrEqual) \ 678 V(Uint8x16GreaterThanOrEqual) \
685 V(CreateBool8x16) \ 679 V(CreateBool8x16) \
686 V(Bool8x16ReplaceLane) \ 680 V(Bool8x16ReplaceLane) \
687 V(Bool8x16And) \ 681 V(Bool8x16And) \
688 V(Bool8x16Or) \ 682 V(Bool8x16Or) \
689 V(Bool8x16Xor) \ 683 V(Bool8x16Xor) \
690 V(Bool8x16Not) \ 684 V(Bool8x16Not) \
691 V(Bool8x16Swizzle) \ 685 V(Bool8x16Swizzle) \
692 V(Bool8x16Shuffle) \ 686 V(Bool8x16Shuffle) \
693 V(Bool8x16Equal) \ 687 V(Bool8x16Equal) \
694 V(Bool8x16NotEqual) 688 V(Bool8x16NotEqual) \
689 V(Simd128And) \
690 V(Simd128Or) \
691 V(Simd128Xor) \
692 V(Simd128Not) \
693 V(Simd32x4Select) \
694 V(Simd32x4Swizzle) \
695 V(Simd32x4Shuffle) \
696 V(Simd16x8Select) \
697 V(Simd16x8Swizzle) \
698 V(Simd16x8Shuffle) \
699 V(Simd8x16Select) \
700 V(Simd8x16Swizzle) \
701 V(Simd8x16Shuffle)
695 702
696 #define MACHINE_SIMD_RETURN_NUM_OP_LIST(V) \ 703 #define MACHINE_SIMD_RETURN_NUM_OP_LIST(V) \
697 V(Float32x4ExtractLane) \ 704 V(Float32x4ExtractLane) \
698 V(Int32x4ExtractLane) \ 705 V(Int32x4ExtractLane) \
699 V(Int16x8ExtractLane) \ 706 V(Int16x8ExtractLane) \
700 V(Int8x16ExtractLane) 707 V(Int8x16ExtractLane)
701 708
702 #define MACHINE_SIMD_RETURN_BOOL_OP_LIST(V) \ 709 #define MACHINE_SIMD_RETURN_BOOL_OP_LIST(V) \
703 V(Bool32x4ExtractLane) \ 710 V(Bool32x4ExtractLane) \
704 V(Bool32x4AnyTrue) \ 711 V(Bool32x4AnyTrue) \
705 V(Bool32x4AllTrue) \ 712 V(Bool32x4AllTrue) \
706 V(Bool16x8ExtractLane) \ 713 V(Bool16x8ExtractLane) \
707 V(Bool16x8AnyTrue) \ 714 V(Bool16x8AnyTrue) \
708 V(Bool16x8AllTrue) \ 715 V(Bool16x8AllTrue) \
709 V(Bool8x16ExtractLane) \ 716 V(Bool8x16ExtractLane) \
710 V(Bool8x16AnyTrue) \ 717 V(Bool8x16AnyTrue) \
711 V(Bool8x16AllTrue) 718 V(Bool8x16AllTrue)
712 719
713 #define MACHINE_SIMD_GENERIC_OP_LIST(V) \ 720 #define MACHINE_SIMD_GENERIC_OP_LIST(V) \
714 V(Simd128Load) \ 721 V(Simd128Load) \
715 V(Simd128Load1) \ 722 V(Simd128Load1) \
716 V(Simd128Load2) \ 723 V(Simd128Load2) \
717 V(Simd128Load3) \ 724 V(Simd128Load3) \
718 V(Simd128Store) \ 725 V(Simd128Store) \
719 V(Simd128Store1) \ 726 V(Simd128Store1) \
720 V(Simd128Store2) \ 727 V(Simd128Store2) \
721 V(Simd128Store3) \ 728 V(Simd128Store3)
722 V(Simd128And) \
723 V(Simd128Or) \
724 V(Simd128Xor) \
725 V(Simd128Not) \
726 V(Simd32x4Select) \
727 V(Simd32x4Swizzle) \
728 V(Simd32x4Shuffle)
729 729
730 #define MACHINE_SIMD_OP_LIST(V) \ 730 #define MACHINE_SIMD_OP_LIST(V) \
731 MACHINE_SIMD_RETURN_SIMD_OP_LIST(V) \ 731 MACHINE_SIMD_RETURN_SIMD_OP_LIST(V) \
732 MACHINE_SIMD_RETURN_NUM_OP_LIST(V) \ 732 MACHINE_SIMD_RETURN_NUM_OP_LIST(V) \
733 MACHINE_SIMD_RETURN_BOOL_OP_LIST(V) \ 733 MACHINE_SIMD_RETURN_BOOL_OP_LIST(V) \
734 MACHINE_SIMD_GENERIC_OP_LIST(V) 734 MACHINE_SIMD_GENERIC_OP_LIST(V)
735 735
736 #define VALUE_OP_LIST(V) \ 736 #define VALUE_OP_LIST(V) \
737 COMMON_OP_LIST(V) \ 737 COMMON_OP_LIST(V) \
738 SIMPLIFIED_OP_LIST(V) \ 738 SIMPLIFIED_OP_LIST(V) \
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
815 } 815 }
816 }; 816 };
817 817
818 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream&, IrOpcode::Value); 818 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream&, IrOpcode::Value);
819 819
820 } // namespace compiler 820 } // namespace compiler
821 } // namespace internal 821 } // namespace internal
822 } // namespace v8 822 } // namespace v8
823 823
824 #endif // V8_COMPILER_OPCODES_H_ 824 #endif // V8_COMPILER_OPCODES_H_
OLDNEW
« no previous file with comments | « src/compiler/machine-operator.cc ('k') | src/compiler/wasm-compiler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698