@@ -277,8 +277,8 @@ let Features = "sse2", Attributes = [NoThrow, Const, RequiredVectorWidth<128>] i
277277 def pslld128 : X86Builtin<" _Vector<4, int>(_Vector<4, int>, _Vector<4, int>)" >;
278278 def psllq128 : X86Builtin<" _Vector<2, long long int>(_Vector<2, long long int>, _Vector<2, long long int>)" >;
279279 def pmaddwd128 : X86Builtin<" _Vector<4, int>(_Vector<8, short>, _Vector<8, short>)" >;
280- def pslldqi128_byteshift : X86Builtin<" _Vector<2, long long int >(_Vector<2, long long int >, _Constant int)" >;
281- def psrldqi128_byteshift : X86Builtin<" _Vector<2, long long int >(_Vector<2, long long int >, _Constant int)" >;
280+ def pslldqi128_byteshift : X86Builtin<" _Vector<16, char >(_Vector<16, char >, _Constant int)" >;
281+ def psrldqi128_byteshift : X86Builtin<" _Vector<16, char >(_Vector<16, char >, _Constant int)" >;
282282}
283283
284284let Features = " sse2" ,
@@ -594,12 +594,12 @@ let Features = "avx2", Attributes = [NoThrow, Const, RequiredVectorWidth<256>] i
594594 def psignw256 : X86Builtin<" _Vector<16, short>(_Vector<16, short>, _Vector<16, short>)" >;
595595 def psignd256 : X86Builtin<" _Vector<8, int>(_Vector<8, int>, _Vector<8, int>)" >;
596596 def psllw256 : X86Builtin<" _Vector<16, short>(_Vector<16, short>, _Vector<8, short>)" >;
597- def pslldqi256_byteshift : X86Builtin<" _Vector<4, long long int >(_Vector<4, long long int >, _Constant int)" >;
597+ def pslldqi256_byteshift : X86Builtin<" _Vector<32, char >(_Vector<32, char >, _Constant int)" >;
598598 def pslld256 : X86Builtin<" _Vector<8, int>(_Vector<8, int>, _Vector<4, int>)" >;
599599 def psllq256 : X86Builtin<" _Vector<4, long long int>(_Vector<4, long long int>, _Vector<2, long long int>)" >;
600600 def psraw256 : X86Builtin<" _Vector<16, short>(_Vector<16, short>, _Vector<8, short>)" >;
601601 def psrad256 : X86Builtin<" _Vector<8, int>(_Vector<8, int>, _Vector<4, int>)" >;
602- def psrldqi256_byteshift : X86Builtin<" _Vector<4, long long int >(_Vector<4, long long int >, _Constant int)" >;
602+ def psrldqi256_byteshift : X86Builtin<" _Vector<32, char >(_Vector<32, char >, _Constant int)" >;
603603 def psrlw256 : X86Builtin<" _Vector<16, short>(_Vector<16, short>, _Vector<8, short>)" >;
604604 def psrld256 : X86Builtin<" _Vector<8, int>(_Vector<8, int>, _Vector<4, int>)" >;
605605 def psrlq256 : X86Builtin<" _Vector<4, long long int>(_Vector<4, long long int>, _Vector<2, long long int>)" >;
@@ -2052,8 +2052,8 @@ let Features = "avx512bw", Attributes = [NoThrow, Const, RequiredVectorWidth<512
20522052 : X86Builtin<" _Vector<32, short>(_Vector<32, short>, _Vector<8, short>)" >;
20532053 def psrlw512
20542054 : X86Builtin<" _Vector<32, short>(_Vector<32, short>, _Vector<8, short>)" >;
2055- def pslldqi512_byteshift : X86Builtin<" _Vector<8, long long int >(_Vector<8, long long int >, _Constant int)" >;
2056- def psrldqi512_byteshift : X86Builtin<" _Vector<8, long long int >(_Vector<8, long long int >, _Constant int)" >;
2055+ def pslldqi512_byteshift : X86Builtin<" _Vector<64, char >(_Vector<64, char >, _Constant int)" >;
2056+ def psrldqi512_byteshift : X86Builtin<" _Vector<64, char >(_Vector<64, char >, _Constant int)" >;
20572057}
20582058
20592059let Features = " avx512vl" , Attributes = [NoThrow, RequiredVectorWidth<128 >] in {
0 commit comments