@@ -156,8 +156,6 @@ let Features = "sse", Attributes = [NoThrow, Const, RequiredVectorWidth<128>] in
156156 def rcpss : X86Builtin<" _Vector<4, float>(_Vector<4, float>)" >;
157157 def rsqrtps : X86Builtin<" _Vector<4, float>(_Vector<4, float>)" >;
158158 def rsqrtss : X86Builtin<" _Vector<4, float>(_Vector<4, float>)" >;
159- def sqrtps : X86Builtin<" _Vector<4, float>(_Vector<4, float>)" >;
160- def sqrtss : X86Builtin<" _Vector<4, float>(_Vector<4, float>)" >;
161159}
162160
163161let Features = " sse2" , Attributes = [NoThrow, RequiredVectorWidth<128 >] in {
@@ -170,8 +168,6 @@ let Features = "sse2", Attributes = [NoThrow] in {
170168
171169let Features = " sse2" , Attributes = [NoThrow, Const, RequiredVectorWidth<128 >] in {
172170 def psadbw128 : X86Builtin<" _Vector<2, long long int>(_Vector<16, char>, _Vector<16, char>)" >;
173- def sqrtpd : X86Builtin<" _Vector<2, double>(_Vector<2, double>)" >;
174- def sqrtsd : X86Builtin<" _Vector<2, double>(_Vector<2, double>)" >;
175171 def cvtpd2dq : X86Builtin<" _Vector<2, long long int>(_Vector<2, double>)" >;
176172 def cvtpd2ps : X86Builtin<" _Vector<4, float>(_Vector<2, double>)" >;
177173 def cvttpd2dq : X86Builtin<" _Vector<4, int>(_Vector<2, double>)" >;
@@ -513,8 +509,6 @@ let Features = "avx", Attributes = [NoThrow, Const, Constexpr, RequiredVectorWid
513509}
514510
515511let Features = " avx" , Attributes = [NoThrow, Const, RequiredVectorWidth<256 >] in {
516- def sqrtpd256 : X86Builtin<" _Vector<4, double>(_Vector<4, double>)" >;
517- def sqrtps256 : X86Builtin<" _Vector<8, float>(_Vector<8, float>)" >;
518512 def rsqrtps256 : X86Builtin<" _Vector<8, float>(_Vector<8, float>)" >;
519513 def rcpps256 : X86Builtin<" _Vector<8, float>(_Vector<8, float>)" >;
520514 def roundpd256 : X86Builtin<" _Vector<4, double>(_Vector<4, double>, _Constant int)" >;
@@ -3310,15 +3304,15 @@ let Features = "avx512f", Attributes = [NoThrow, Const, RequiredVectorWidth<128>
33103304 def cvtusi2ss32 : X86Builtin<" _Vector<4, float>(_Vector<4, float>, unsigned int, _Constant int)" >;
33113305}
33123306
3313- let Features = " avx512vbmi" , Attributes = [NoThrow, Const, RequiredVectorWidth<512 >] in {
3307+ let Features = " avx512vbmi" , Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<512 >] in {
33143308 def vpmultishiftqb512 : X86Builtin<" _Vector<64, char>(_Vector<64, char>, _Vector<64, char>)" >;
33153309}
33163310
3317- let Features = " avx512vbmi,avx512vl" , Attributes = [NoThrow, Const, RequiredVectorWidth<128 >] in {
3311+ let Features = " avx512vbmi,avx512vl" , Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<128 >] in {
33183312 def vpmultishiftqb128 : X86Builtin<" _Vector<16, char>(_Vector<16, char>, _Vector<16, char>)" >;
33193313}
33203314
3321- let Features = " avx512vbmi,avx512vl" , Attributes = [NoThrow, Const, RequiredVectorWidth<256 >] in {
3315+ let Features = " avx512vbmi,avx512vl" , Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<256 >] in {
33223316 def vpmultishiftqb256 : X86Builtin<" _Vector<32, char>(_Vector<32, char>, _Vector<32, char>)" >;
33233317}
33243318
@@ -3535,14 +3529,6 @@ let Features = "avx512fp16", Attributes = [NoThrow, Const, RequiredVectorWidth<1
35353529 def reducesh_mask : X86Builtin<" _Vector<8, _Float16>(_Vector<8, _Float16>, _Vector<8, _Float16>, _Vector<8, _Float16>, unsigned char, _Constant int, _Constant int)" >;
35363530}
35373531
3538- let Features = " avx512fp16,avx512vl" , Attributes = [NoThrow, Const, RequiredVectorWidth<128 >] in {
3539- def sqrtph : X86Builtin<" _Vector<8, _Float16>(_Vector<8, _Float16>)" >;
3540- }
3541-
3542- let Features = " avx512fp16,avx512vl" , Attributes = [NoThrow, Const, RequiredVectorWidth<256 >] in {
3543- def sqrtph256 : X86Builtin<" _Vector<16, _Float16>(_Vector<16, _Float16>)" >;
3544- }
3545-
35463532let Features = " avx512fp16" , Attributes = [NoThrow, Const, RequiredVectorWidth<512 >] in {
35473533 def sqrtph512 : X86Builtin<" _Vector<32, _Float16>(_Vector<32, _Float16>, _Constant int)" >;
35483534}
@@ -5061,15 +5047,3 @@ let Features = "avx10.2", Attributes = [NoThrow, Const, RequiredVectorWidth<256>
50615047let Features = " avx10.2" , Attributes = [NoThrow, Const, RequiredVectorWidth<512 >] in {
50625048 def vgetmantbf16512_mask : X86Builtin<" _Vector<32, __bf16>(_Vector<32, __bf16>, _Constant int, _Vector<32, __bf16>, unsigned int)" >;
50635049}
5064-
5065- let Features = " avx10.2" , Attributes = [NoThrow, Const, RequiredVectorWidth<128 >] in {
5066- def vsqrtbf16 : X86Builtin<" _Vector<8, __bf16>(_Vector<8, __bf16>)" >;
5067- }
5068-
5069- let Features = " avx10.2" , Attributes = [NoThrow, Const, RequiredVectorWidth<256 >] in {
5070- def vsqrtbf16256 : X86Builtin<" _Vector<16, __bf16>(_Vector<16, __bf16>)" >;
5071- }
5072-
5073- let Features = " avx10.2" , Attributes = [NoThrow, Const, RequiredVectorWidth<512 >] in {
5074- def vsqrtbf16512 : X86Builtin<" _Vector<32, __bf16>(_Vector<32, __bf16>)" >;
5075- }
0 commit comments