@@ -123,13 +123,13 @@ let Attributes = [Const, NoThrow, RequiredVectorWidth<128>] in {
123123 }
124124 }
125125
126- let Features = " ssse3" in {
127- def psignb128 : X86Builtin<" _Vector<16, char>(_Vector<16, char>, _Vector<16, char>)" >;
128- def psignw128 : X86Builtin<" _Vector<8, short>(_Vector<8, short>, _Vector<8, short>)" >;
129- def psignd128 : X86Builtin<" _Vector<4, int>(_Vector<4, int>, _Vector<4, int>)" >;
130- }
131-
132126 let Features = " ssse3" , Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<128 >] in {
127+ def psignb128
128+ : X86Builtin<" _Vector<16, char>(_Vector<16, char>, _Vector<16, char>)" >;
129+ def psignw128
130+ : X86Builtin<" _Vector<8, short>(_Vector<8, short>, _Vector<8, short>)" >;
131+ def psignd128
132+ : X86Builtin<" _Vector<4, int>(_Vector<4, int>, _Vector<4, int>)" >;
133133 def pmulhrsw128 : X86Builtin<" _Vector<8, short>(_Vector<8, short>, _Vector<8, short>)" >;
134134 def pmaddubsw128 : X86Builtin<" _Vector<8, short>(_Vector<16, char>, _Vector<16, char>)" >;
135135 def pshufb128 : X86Builtin<" _Vector<16, char>(_Vector<16, char>, _Vector<16, char>)" >;
@@ -603,10 +603,9 @@ let Features = "avx2", Attributes = [NoThrow, Const, RequiredVectorWidth<256>] i
603603 def mpsadbw256 : X86Builtin<" _Vector<32, char>(_Vector<32, char>, _Vector<32, char>, _Constant char)" >;
604604 def palignr256 : X86Builtin<" _Vector<32, char>(_Vector<32, char>, "
605605 " _Vector<32, char>, _Constant int)" >;
606- def psadbw256 : X86Builtin<" _Vector<4, long long int>(_Vector<32, char>, _Vector<32, char>)" >;
607- def psignb256 : X86Builtin<" _Vector<32, char>(_Vector<32, char>, _Vector<32, char>)" >;
608- def psignw256 : X86Builtin<" _Vector<16, short>(_Vector<16, short>, _Vector<16, short>)" >;
609- def psignd256 : X86Builtin<" _Vector<8, int>(_Vector<8, int>, _Vector<8, int>)" >;
606+ def psadbw256
607+ : X86Builtin<
608+ " _Vector<4, long long int>(_Vector<32, char>, _Vector<32, char>)" >;
610609 def psllw256 : X86Builtin<" _Vector<16, short>(_Vector<16, short>, _Vector<8, short>)" >;
611610 def pslldqi256_byteshift : X86Builtin<" _Vector<32, char>(_Vector<32, char>, _Constant int)" >;
612611 def pslld256 : X86Builtin<" _Vector<8, int>(_Vector<8, int>, _Vector<4, int>)" >;
@@ -677,7 +676,15 @@ let Features = "avx2", Attributes = [NoThrow, Const, Constexpr, RequiredVectorWi
677676 def phsubw256 : X86Builtin<" _Vector<16, short>(_Vector<16, short>, _Vector<16, short>)" >;
678677 def phsubd256 : X86Builtin<" _Vector<8, int>(_Vector<8, int>, _Vector<8, int>)" >;
679678 def phsubsw256 : X86Builtin<" _Vector<16, short>(_Vector<16, short>, _Vector<16, short>)" >;
680-
679+
680+ def psignb256
681+ : X86Builtin<" _Vector<32, char>(_Vector<32, char>, _Vector<32, char>)" >;
682+ def psignw256
683+ : X86Builtin<
684+ " _Vector<16, short>(_Vector<16, short>, _Vector<16, short>)" >;
685+ def psignd256
686+ : X86Builtin<" _Vector<8, int>(_Vector<8, int>, _Vector<8, int>)" >;
687+
681688 def pshuflw256 : X86Builtin<" _Vector<16, short>(_Vector<16, short>, _Constant int)" >;
682689 def pshufhw256 : X86Builtin<" _Vector<16, short>(_Vector<16, short>, _Constant int)" >;
683690 def pshufd256 : X86Builtin<" _Vector<8, int>(_Vector<8, int>, _Constant int)" >;
0 commit comments