@@ -124,13 +124,17 @@ let Attributes = [Const, NoThrow, RequiredVectorWidth<128>] in {
124124 }
125125
126126 let Features = " ssse3" in {
127- def pmulhrsw128 : X86Builtin<" _Vector<8, short>(_Vector<8, short>, _Vector<8, short>)" >;
128- def psignb128 : X86Builtin<" _Vector<16, char>(_Vector<16, char>, _Vector<16, char>)" >;
129- def psignw128 : X86Builtin<" _Vector<8, short>(_Vector<8, short>, _Vector<8, short>)" >;
130- def psignd128 : X86Builtin<" _Vector<4, int>(_Vector<4, int>, _Vector<4, int>)" >;
127+ def pmulhrsw128
128+ : X86Builtin<" _Vector<8, short>(_Vector<8, short>, _Vector<8, short>)" >;
131129 }
132130
133131 let Features = " ssse3" , Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<128 >] in {
132+ def psignb128
133+ : X86Builtin<" _Vector<16, char>(_Vector<16, char>, _Vector<16, char>)" >;
134+ def psignw128
135+ : X86Builtin<" _Vector<8, short>(_Vector<8, short>, _Vector<8, short>)" >;
136+ def psignd128
137+ : X86Builtin<" _Vector<4, int>(_Vector<4, int>, _Vector<4, int>)" >;
134138 def pmaddubsw128 : X86Builtin<" _Vector<8, short>(_Vector<16, char>, _Vector<16, char>)" >;
135139 def pshufb128 : X86Builtin<" _Vector<16, char>(_Vector<16, char>, _Vector<16, char>)" >;
136140 }
@@ -609,10 +613,9 @@ let Features = "avx2", Attributes = [NoThrow, Const, RequiredVectorWidth<256>] i
609613
610614 def pmovmskb256 : X86Builtin<" int(_Vector<32, char>)" >;
611615 def pmulhrsw256 : X86Builtin<" _Vector<16, short>(_Vector<16, short>, _Vector<16, short>)" >;
612- def psadbw256 : X86Builtin<" _Vector<4, long long int>(_Vector<32, char>, _Vector<32, char>)" >;
613- def psignb256 : X86Builtin<" _Vector<32, char>(_Vector<32, char>, _Vector<32, char>)" >;
614- def psignw256 : X86Builtin<" _Vector<16, short>(_Vector<16, short>, _Vector<16, short>)" >;
615- def psignd256 : X86Builtin<" _Vector<8, int>(_Vector<8, int>, _Vector<8, int>)" >;
616+ def psadbw256
617+ : X86Builtin<
618+ " _Vector<4, long long int>(_Vector<32, char>, _Vector<32, char>)" >;
616619 def psllw256 : X86Builtin<" _Vector<16, short>(_Vector<16, short>, _Vector<8, short>)" >;
617620 def pslldqi256_byteshift : X86Builtin<" _Vector<32, char>(_Vector<32, char>, _Constant int)" >;
618621 def pslld256 : X86Builtin<" _Vector<8, int>(_Vector<8, int>, _Vector<4, int>)" >;
@@ -682,7 +685,15 @@ let Features = "avx2", Attributes = [NoThrow, Const, Constexpr, RequiredVectorWi
682685 def phsubw256 : X86Builtin<" _Vector<16, short>(_Vector<16, short>, _Vector<16, short>)" >;
683686 def phsubd256 : X86Builtin<" _Vector<8, int>(_Vector<8, int>, _Vector<8, int>)" >;
684687 def phsubsw256 : X86Builtin<" _Vector<16, short>(_Vector<16, short>, _Vector<16, short>)" >;
685-
688+
689+ def psignb256
690+ : X86Builtin<" _Vector<32, char>(_Vector<32, char>, _Vector<32, char>)" >;
691+ def psignw256
692+ : X86Builtin<
693+ " _Vector<16, short>(_Vector<16, short>, _Vector<16, short>)" >;
694+ def psignd256
695+ : X86Builtin<" _Vector<8, int>(_Vector<8, int>, _Vector<8, int>)" >;
696+
686697 def pshuflw256 : X86Builtin<" _Vector<16, short>(_Vector<16, short>, _Constant int)" >;
687698 def pshufhw256 : X86Builtin<" _Vector<16, short>(_Vector<16, short>, _Constant int)" >;
688699 def pshufd256 : X86Builtin<" _Vector<8, int>(_Vector<8, int>, _Constant int)" >;
0 commit comments