@@ -461,11 +461,14 @@ let Features = "avx", Attributes = [NoThrow, Const, Constexpr, RequiredVectorWid
461461 def shufps256 : X86Builtin<" _Vector<8, float>(_Vector<8, float>, _Vector<8, float>, _Constant int)" >;
462462}
463463
464- let Features = " avx" , Attributes = [NoThrow, Const, RequiredVectorWidth<256 >] in {
464+ let Features = " avx" , Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<256 >] in {
465465 def vpermilvarpd : X86Builtin<" _Vector<2, double>(_Vector<2, double>, _Vector<2, long long int>)" >;
466466 def vpermilvarps : X86Builtin<" _Vector<4, float>(_Vector<4, float>, _Vector<4, int>)" >;
467467 def vpermilvarpd256 : X86Builtin<" _Vector<4, double>(_Vector<4, double>, _Vector<4, long long int>)" >;
468468 def vpermilvarps256 : X86Builtin<" _Vector<8, float>(_Vector<8, float>, _Vector<8, int>)" >;
469+ }
470+
471+ let Features = " avx" , Attributes = [NoThrow, Const, RequiredVectorWidth<256 >] in {
469472 def dpps256 : X86Builtin<" _Vector<8, float>(_Vector<8, float>, _Vector<8, float>, _Constant char)" >;
470473 def cmppd256 : X86Builtin<" _Vector<4, double>(_Vector<4, double>, _Vector<4, double>, _Constant char)" >;
471474 def cmpps256 : X86Builtin<" _Vector<8, float>(_Vector<8, float>, _Vector<8, float>, _Constant char)" >;
@@ -2338,15 +2341,6 @@ let Features = "avx512f", Attributes = [NoThrow, Const, RequiredVectorWidth<128>
23382341 def vcvttss2si32 : X86Builtin<" int(_Vector<4, float>, _Constant int)" >;
23392342 def vcvttss2usi32 : X86Builtin<" unsigned int(_Vector<4, float>, _Constant int)" >;
23402343}
2341- let Features = " avx512f" , Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<512 >] in {
2342- def vpermilpd512 : X86Builtin<" _Vector<8, double>(_Vector<8, double>, _Constant int)" >;
2343- def vpermilps512 : X86Builtin<" _Vector<16, float>(_Vector<16, float>, _Constant int)" >;
2344- }
2345-
2346- let Features = " avx512f" , Attributes = [NoThrow, Const, RequiredVectorWidth<512 >] in {
2347- def vpermilvarpd512 : X86Builtin<" _Vector<8, double>(_Vector<8, double>, _Vector<8, long long int>)" >;
2348- def vpermilvarps512 : X86Builtin<" _Vector<16, float>(_Vector<16, float>, _Vector<16, int>)" >;
2349- }
23502344
23512345let Features = " avx512f" , Attributes = [NoThrow, Const, RequiredVectorWidth<128 >] in {
23522346 def rndscalesd_round_mask : X86Builtin<" _Vector<2, double>(_Vector<2, double>, _Vector<2, double>, _Vector<2, double>, unsigned char, _Constant int, _Constant int)" >;
@@ -2439,6 +2433,14 @@ let Features = "avx512f", Attributes = [NoThrow, Const, RequiredVectorWidth<512>
24392433let Features = " avx512f" , Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<512 >] in {
24402434 def shufpd512 : X86Builtin<" _Vector<8, double>(_Vector<8, double>, _Vector<8, double>, _Constant int)" >;
24412435 def shufps512 : X86Builtin<" _Vector<16, float>(_Vector<16, float>, _Vector<16, float>, _Constant int)" >;
2436+ def vpermilpd512
2437+ : X86Builtin<" _Vector<8, double>(_Vector<8, double>, _Constant int)" >;
2438+ def vpermilps512
2439+ : X86Builtin<" _Vector<16, float>(_Vector<16, float>, _Constant int)" >;
2440+ def vpermilvarpd512 : X86Builtin<" _Vector<8, double>(_Vector<8, double>, "
2441+ " _Vector<8, long long int>)" >;
2442+ def vpermilvarps512
2443+ : X86Builtin<" _Vector<16, float>(_Vector<16, float>, _Vector<16, int>)" >;
24422444}
24432445
24442446let Features = " avx512vl" , Attributes = [NoThrow, Const, RequiredVectorWidth<256 >] in {
0 commit comments