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

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

Issue 2543773002: [Turbofan] Canonicalize SIMD 32x4 Select, Swizzle, and Shuffle. (Closed)
Patch Set: Created 4 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
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 537 matching lines...) Expand 10 before | Expand all | Expand 10 after
548 V(Float32x4Min) \ 548 V(Float32x4Min) \
549 V(Float32x4Max) \ 549 V(Float32x4Max) \
550 V(Float32x4MinNum) \ 550 V(Float32x4MinNum) \
551 V(Float32x4MaxNum) \ 551 V(Float32x4MaxNum) \
552 V(Float32x4Equal) \ 552 V(Float32x4Equal) \
553 V(Float32x4NotEqual) \ 553 V(Float32x4NotEqual) \
554 V(Float32x4LessThan) \ 554 V(Float32x4LessThan) \
555 V(Float32x4LessThanOrEqual) \ 555 V(Float32x4LessThanOrEqual) \
556 V(Float32x4GreaterThan) \ 556 V(Float32x4GreaterThan) \
557 V(Float32x4GreaterThanOrEqual) \ 557 V(Float32x4GreaterThanOrEqual) \
558 V(Float32x4Select) \
559 V(Float32x4Swizzle) \
560 V(Float32x4Shuffle) \
561 V(Float32x4FromInt32x4) \ 558 V(Float32x4FromInt32x4) \
562 V(Float32x4FromUint32x4) \ 559 V(Float32x4FromUint32x4) \
563 V(CreateInt32x4) \ 560 V(CreateInt32x4) \
564 V(Int32x4ReplaceLane) \ 561 V(Int32x4ReplaceLane) \
565 V(Int32x4Neg) \ 562 V(Int32x4Neg) \
566 V(Int32x4Add) \ 563 V(Int32x4Add) \
567 V(Int32x4Sub) \ 564 V(Int32x4Sub) \
568 V(Int32x4Mul) \ 565 V(Int32x4Mul) \
569 V(Int32x4Min) \ 566 V(Int32x4Min) \
570 V(Int32x4Max) \ 567 V(Int32x4Max) \
571 V(Int32x4ShiftLeftByScalar) \ 568 V(Int32x4ShiftLeftByScalar) \
572 V(Int32x4ShiftRightByScalar) \ 569 V(Int32x4ShiftRightByScalar) \
573 V(Int32x4Equal) \ 570 V(Int32x4Equal) \
574 V(Int32x4NotEqual) \ 571 V(Int32x4NotEqual) \
575 V(Int32x4LessThan) \ 572 V(Int32x4LessThan) \
576 V(Int32x4LessThanOrEqual) \ 573 V(Int32x4LessThanOrEqual) \
577 V(Int32x4GreaterThan) \ 574 V(Int32x4GreaterThan) \
578 V(Int32x4GreaterThanOrEqual) \ 575 V(Int32x4GreaterThanOrEqual) \
579 V(Int32x4Select) \
580 V(Int32x4Swizzle) \
581 V(Int32x4Shuffle) \
582 V(Int32x4FromFloat32x4) \ 576 V(Int32x4FromFloat32x4) \
583 V(Uint32x4Min) \ 577 V(Uint32x4Min) \
584 V(Uint32x4Max) \ 578 V(Uint32x4Max) \
585 V(Uint32x4ShiftLeftByScalar) \ 579 V(Uint32x4ShiftLeftByScalar) \
586 V(Uint32x4ShiftRightByScalar) \ 580 V(Uint32x4ShiftRightByScalar) \
587 V(Uint32x4LessThan) \ 581 V(Uint32x4LessThan) \
588 V(Uint32x4LessThanOrEqual) \ 582 V(Uint32x4LessThanOrEqual) \
589 V(Uint32x4GreaterThan) \ 583 V(Uint32x4GreaterThan) \
590 V(Uint32x4GreaterThanOrEqual) \ 584 V(Uint32x4GreaterThanOrEqual) \
591 V(Uint32x4FromFloat32x4) \ 585 V(Uint32x4FromFloat32x4) \
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
704 V(Simd128Load1) \ 698 V(Simd128Load1) \
705 V(Simd128Load2) \ 699 V(Simd128Load2) \
706 V(Simd128Load3) \ 700 V(Simd128Load3) \
707 V(Simd128Store) \ 701 V(Simd128Store) \
708 V(Simd128Store1) \ 702 V(Simd128Store1) \
709 V(Simd128Store2) \ 703 V(Simd128Store2) \
710 V(Simd128Store3) \ 704 V(Simd128Store3) \
711 V(Simd128And) \ 705 V(Simd128And) \
712 V(Simd128Or) \ 706 V(Simd128Or) \
713 V(Simd128Xor) \ 707 V(Simd128Xor) \
714 V(Simd128Not) 708 V(Simd128Not) \
709 V(Simd32x4Select) \
710 V(Simd32x4Swizzle) \
711 V(Simd32x4Shuffle)
715 712
716 #define MACHINE_SIMD_OP_LIST(V) \ 713 #define MACHINE_SIMD_OP_LIST(V) \
717 MACHINE_SIMD_RETURN_SIMD_OP_LIST(V) \ 714 MACHINE_SIMD_RETURN_SIMD_OP_LIST(V) \
718 MACHINE_SIMD_RETURN_NUM_OP_LIST(V) \ 715 MACHINE_SIMD_RETURN_NUM_OP_LIST(V) \
719 MACHINE_SIMD_RETURN_BOOL_OP_LIST(V) \ 716 MACHINE_SIMD_RETURN_BOOL_OP_LIST(V) \
720 MACHINE_SIMD_GENERIC_OP_LIST(V) 717 MACHINE_SIMD_GENERIC_OP_LIST(V)
721 718
722 #define VALUE_OP_LIST(V) \ 719 #define VALUE_OP_LIST(V) \
723 COMMON_OP_LIST(V) \ 720 COMMON_OP_LIST(V) \
724 SIMPLIFIED_OP_LIST(V) \ 721 SIMPLIFIED_OP_LIST(V) \
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
797 } 794 }
798 }; 795 };
799 796
800 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream&, IrOpcode::Value); 797 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream&, IrOpcode::Value);
801 798
802 } // namespace compiler 799 } // namespace compiler
803 } // namespace internal 800 } // namespace internal
804 } // namespace v8 801 } // namespace v8
805 802
806 #endif // V8_COMPILER_OPCODES_H_ 803 #endif // V8_COMPILER_OPCODES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698