@@ -2002,6 +2002,10 @@ let Features = "avx512f", Attributes = [NoThrow, Const, Constexpr, RequiredVecto
20022002 def psrav16si : X86Builtin<" _Vector<16, int>(_Vector<16, int>, _Vector<16, int>)" >;
20032003 def psrlv16si : X86Builtin<" _Vector<16, int>(_Vector<16, int>, _Vector<16, int>)" >;
20042004
2005+ def psllv8di : X86Builtin<" _Vector<8, long long int>(_Vector<8, long long int>, _Vector<8, long long int>)" >;
2006+ def psrav8di : X86Builtin<" _Vector<8, long long int>(_Vector<8, long long int>, _Vector<8, long long int>)" >;
2007+ def psrlv8di : X86Builtin<" _Vector<8, long long int>(_Vector<8, long long int>, _Vector<8, long long int>)" >;
2008+
20052009 def prold512 : X86Builtin<" _Vector<16, int>(_Vector<16, int>, _Constant int)" >;
20062010 def prord512 : X86Builtin<" _Vector<16, int>(_Vector<16, int>, _Constant int)" >;
20072011 def prolq512 : X86Builtin<" _Vector<8, long long int>(_Vector<8, long long int>, _Constant int)" >;
@@ -2025,15 +2029,18 @@ let Features = "avx512vl", Attributes = [NoThrow, Const, Constexpr, RequiredVect
20252029let Features = " avx512bw" , Attributes = [NoThrow, Const, RequiredVectorWidth<512 >] in {
20262030 def pshufhw512 : X86Builtin<" _Vector<32, short>(_Vector<32, short>, _Constant int)" >;
20272031 def pshuflw512 : X86Builtin<" _Vector<32, short>(_Vector<32, short>, _Constant int)" >;
2028- def psllv32hi : X86Builtin<" _Vector<32, short>(_Vector<32, short>, _Vector<32, short>)" >;
20292032 def psllw512 : X86Builtin<" _Vector<32, short>(_Vector<32, short>, _Vector<8, short>)" >;
20302033}
20312034
2032- let Features = " avx512bw,avx512vl" , Attributes = [NoThrow, Const, RequiredVectorWidth<256 >] in {
2035+ let Features = " avx512bw" , Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<512 >] in {
2036+ def psllv32hi : X86Builtin<" _Vector<32, short>(_Vector<32, short>, _Vector<32, short>)" >;
2037+ }
2038+
2039+ let Features = " avx512bw,avx512vl" , Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<256 >] in {
20332040 def psllv16hi : X86Builtin<" _Vector<16, short>(_Vector<16, short>, _Vector<16, short>)" >;
20342041}
20352042
2036- let Features = " avx512bw,avx512vl" , Attributes = [NoThrow, Const, RequiredVectorWidth<128 >] in {
2043+ let Features = " avx512bw,avx512vl" , Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<128 >] in {
20372044 def psllv8hi : X86Builtin<" _Vector<8, short>(_Vector<8, short>, _Vector<8, short>)" >;
20382045}
20392046
@@ -2044,15 +2051,15 @@ let Features = "avx512f",
20442051 def psllqi512 : X86Builtin<" _Vector<8, long long int>(_Vector<8, long long int>, int)" >;
20452052}
20462053
2047- let Features = " avx512bw" , Attributes = [NoThrow, Const, RequiredVectorWidth<512 >] in {
2054+ let Features = " avx512bw" , Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<512 >] in {
20482055 def psrlv32hi : X86Builtin<" _Vector<32, short>(_Vector<32, short>, _Vector<32, short>)" >;
20492056}
20502057
2051- let Features = " avx512bw,avx512vl" , Attributes = [NoThrow, Const, RequiredVectorWidth<256 >] in {
2058+ let Features = " avx512bw,avx512vl" , Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<256 >] in {
20522059 def psrlv16hi : X86Builtin<" _Vector<16, short>(_Vector<16, short>, _Vector<16, short>)" >;
20532060}
20542061
2055- let Features = " avx512bw,avx512vl" , Attributes = [NoThrow, Const, RequiredVectorWidth<128 >] in {
2062+ let Features = " avx512bw,avx512vl" , Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<128 >] in {
20562063 def psrlv8hi : X86Builtin<" _Vector<8, short>(_Vector<8, short>, _Vector<8, short>)" >;
20572064}
20582065
@@ -2063,23 +2070,23 @@ let Features = "avx512f",
20632070 def psrlqi512 : X86Builtin<" _Vector<8, long long int>(_Vector<8, long long int>, int)" >;
20642071}
20652072
2066- let Features = " avx512bw" , Attributes = [NoThrow, Const, RequiredVectorWidth<512 >] in {
2073+ let Features = " avx512bw" , Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<512 >] in {
20672074 def psrav32hi : X86Builtin<" _Vector<32, short>(_Vector<32, short>, _Vector<32, short>)" >;
20682075}
20692076
2070- let Features = " avx512bw,avx512vl" , Attributes = [NoThrow, Const, RequiredVectorWidth<256 >] in {
2077+ let Features = " avx512bw,avx512vl" , Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<256 >] in {
20712078 def psrav16hi : X86Builtin<" _Vector<16, short>(_Vector<16, short>, _Vector<16, short>)" >;
20722079}
20732080
2074- let Features = " avx512bw,avx512vl" , Attributes = [NoThrow, Const, RequiredVectorWidth<128 >] in {
2081+ let Features = " avx512bw,avx512vl" , Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<128 >] in {
20752082 def psrav8hi : X86Builtin<" _Vector<8, short>(_Vector<8, short>, _Vector<8, short>)" >;
20762083}
20772084
2078- let Features = " avx512vl" , Attributes = [NoThrow, Const, RequiredVectorWidth<128 >] in {
2085+ let Features = " avx512vl" , Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<128 >] in {
20792086 def psravq128 : X86Builtin<" _Vector<2, long long int>(_Vector<2, long long int>, _Vector<2, long long int>)" >;
20802087}
20812088
2082- let Features = " avx512vl" , Attributes = [NoThrow, Const, RequiredVectorWidth<256 >] in {
2089+ let Features = " avx512vl" , Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<256 >] in {
20832090 def psravq256 : X86Builtin<" _Vector<4, long long int>(_Vector<4, long long int>, _Vector<4, long long int>)" >;
20842091}
20852092
@@ -2431,13 +2438,10 @@ let Features = "avx512vl",
24312438let Features = " avx512f" , Attributes = [NoThrow, Const, RequiredVectorWidth<512 >] in {
24322439 def pslld512 : X86Builtin<" _Vector<16, int>(_Vector<16, int>, _Vector<4, int>)" >;
24332440 def psllq512 : X86Builtin<" _Vector<8, long long int>(_Vector<8, long long int>, _Vector<2, long long int>)" >;
2434- def psllv8di : X86Builtin<" _Vector<8, long long int>(_Vector<8, long long int>, _Vector<8, long long int>)" >;
24352441 def psrad512 : X86Builtin<" _Vector<16, int>(_Vector<16, int>, _Vector<4, int>)" >;
24362442 def psraq512 : X86Builtin<" _Vector<8, long long int>(_Vector<8, long long int>, _Vector<2, long long int>)" >;
2437- def psrav8di : X86Builtin<" _Vector<8, long long int>(_Vector<8, long long int>, _Vector<8, long long int>)" >;
24382443 def psrld512 : X86Builtin<" _Vector<16, int>(_Vector<16, int>, _Vector<4, int>)" >;
24392444 def psrlq512 : X86Builtin<" _Vector<8, long long int>(_Vector<8, long long int>, _Vector<2, long long int>)" >;
2440- def psrlv8di : X86Builtin<" _Vector<8, long long int>(_Vector<8, long long int>, _Vector<8, long long int>)" >;
24412445 def pternlogd512_mask : X86Builtin<" _Vector<16, int>(_Vector<16, int>, _Vector<16, int>, _Vector<16, int>, _Constant int, unsigned short)" >;
24422446 def pternlogd512_maskz : X86Builtin<" _Vector<16, int>(_Vector<16, int>, _Vector<16, int>, _Vector<16, int>, _Constant int, unsigned short)" >;
24432447 def pternlogq512_mask : X86Builtin<" _Vector<8, long long int>(_Vector<8, long long int>, _Vector<8, long long int>, _Vector<8, long long int>, _Constant int, unsigned char)" >;
0 commit comments