@@ -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)" >;
@@ -3312,15 +3306,15 @@ let Features = "avx512f", Attributes = [NoThrow, Const, RequiredVectorWidth<128>
33123306 def cvtusi2ss32 : X86Builtin<" _Vector<4, float>(_Vector<4, float>, unsigned int, _Constant int)" >;
33133307}
33143308
3315- let Features = " avx512vbmi" , Attributes = [NoThrow, Const, RequiredVectorWidth<512 >] in {
3309+ let Features = " avx512vbmi" , Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<512 >] in {
33163310 def vpmultishiftqb512 : X86Builtin<" _Vector<64, char>(_Vector<64, char>, _Vector<64, char>)" >;
33173311}
33183312
3319- let Features = " avx512vbmi,avx512vl" , Attributes = [NoThrow, Const, RequiredVectorWidth<128 >] in {
3313+ let Features = " avx512vbmi,avx512vl" , Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<128 >] in {
33203314 def vpmultishiftqb128 : X86Builtin<" _Vector<16, char>(_Vector<16, char>, _Vector<16, char>)" >;
33213315}
33223316
3323- let Features = " avx512vbmi,avx512vl" , Attributes = [NoThrow, Const, RequiredVectorWidth<256 >] in {
3317+ let Features = " avx512vbmi,avx512vl" , Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<256 >] in {
33243318 def vpmultishiftqb256 : X86Builtin<" _Vector<32, char>(_Vector<32, char>, _Vector<32, char>)" >;
33253319}
33263320
@@ -3541,14 +3535,6 @@ let Features = "avx512fp16", Attributes = [NoThrow, Const, RequiredVectorWidth<1
35413535 def reducesh_mask : X86Builtin<" _Vector<8, _Float16>(_Vector<8, _Float16>, _Vector<8, _Float16>, _Vector<8, _Float16>, unsigned char, _Constant int, _Constant int)" >;
35423536}
35433537
3544- let Features = " avx512fp16,avx512vl" , Attributes = [NoThrow, Const, RequiredVectorWidth<128 >] in {
3545- def sqrtph : X86Builtin<" _Vector<8, _Float16>(_Vector<8, _Float16>)" >;
3546- }
3547-
3548- let Features = " avx512fp16,avx512vl" , Attributes = [NoThrow, Const, RequiredVectorWidth<256 >] in {
3549- def sqrtph256 : X86Builtin<" _Vector<16, _Float16>(_Vector<16, _Float16>)" >;
3550- }
3551-
35523538let Features = " avx512fp16" , Attributes = [NoThrow, Const, RequiredVectorWidth<512 >] in {
35533539 def sqrtph512 : X86Builtin<" _Vector<32, _Float16>(_Vector<32, _Float16>, _Constant int)" >;
35543540}
@@ -5067,15 +5053,3 @@ let Features = "avx10.2", Attributes = [NoThrow, Const, RequiredVectorWidth<256>
50675053let Features = " avx10.2" , Attributes = [NoThrow, Const, RequiredVectorWidth<512 >] in {
50685054 def vgetmantbf16512_mask : X86Builtin<" _Vector<32, __bf16>(_Vector<32, __bf16>, _Constant int, _Vector<32, __bf16>, unsigned int)" >;
50695055}
5070-
5071- let Features = " avx10.2" , Attributes = [NoThrow, Const, RequiredVectorWidth<128 >] in {
5072- def vsqrtbf16 : X86Builtin<" _Vector<8, __bf16>(_Vector<8, __bf16>)" >;
5073- }
5074-
5075- let Features = " avx10.2" , Attributes = [NoThrow, Const, RequiredVectorWidth<256 >] in {
5076- def vsqrtbf16256 : X86Builtin<" _Vector<16, __bf16>(_Vector<16, __bf16>)" >;
5077- }
5078-
5079- let Features = " avx10.2" , Attributes = [NoThrow, Const, RequiredVectorWidth<512 >] in {
5080- def vsqrtbf16512 : X86Builtin<" _Vector<32, __bf16>(_Vector<32, __bf16>)" >;
5081- }
0 commit comments