@@ -5191,51 +5191,51 @@ let Features = "avx10.2-512", Attributes = [NoThrow, RequiredVectorWidth<512>] i
51915191}
51925192
51935193let Features = " avx10.2-256" , Attributes = [NoThrow, RequiredVectorWidth<128 >] in {
5194- def vcvtne2ph2bf8_128 : X86Builtin<" _Vector<16, char>(_Vector<8, _Float16>, _Vector<8, _Float16>)" >;
5194+ def vcvt2ph2bf8_128 : X86Builtin<" _Vector<16, char>(_Vector<8, _Float16>, _Vector<8, _Float16>)" >;
51955195}
51965196
51975197let Features = " avx10.2-256" , Attributes = [NoThrow, RequiredVectorWidth<256 >] in {
5198- def vcvtne2ph2bf8_256 : X86Builtin<" _Vector<32, char>(_Vector<16, _Float16>, _Vector<16, _Float16>)" >;
5198+ def vcvt2ph2bf8_256 : X86Builtin<" _Vector<32, char>(_Vector<16, _Float16>, _Vector<16, _Float16>)" >;
51995199}
52005200
52015201let Features = " avx10.2-512" , Attributes = [NoThrow, RequiredVectorWidth<512 >] in {
5202- def vcvtne2ph2bf8_512 : X86Builtin<" _Vector<64, char>(_Vector<32, _Float16>, _Vector<32, _Float16>)" >;
5202+ def vcvt2ph2bf8_512 : X86Builtin<" _Vector<64, char>(_Vector<32, _Float16>, _Vector<32, _Float16>)" >;
52035203}
52045204
52055205let Features = " avx10.2-256" , Attributes = [NoThrow, RequiredVectorWidth<128 >] in {
5206- def vcvtne2ph2bf8s_128 : X86Builtin<" _Vector<16, char>(_Vector<8, _Float16>, _Vector<8, _Float16>)" >;
5206+ def vcvt2ph2bf8s_128 : X86Builtin<" _Vector<16, char>(_Vector<8, _Float16>, _Vector<8, _Float16>)" >;
52075207}
52085208
52095209let Features = " avx10.2-256" , Attributes = [NoThrow, RequiredVectorWidth<256 >] in {
5210- def vcvtne2ph2bf8s_256 : X86Builtin<" _Vector<32, char>(_Vector<16, _Float16>, _Vector<16, _Float16>)" >;
5210+ def vcvt2ph2bf8s_256 : X86Builtin<" _Vector<32, char>(_Vector<16, _Float16>, _Vector<16, _Float16>)" >;
52115211}
52125212
52135213let Features = " avx10.2-512" , Attributes = [NoThrow, RequiredVectorWidth<512 >] in {
5214- def vcvtne2ph2bf8s_512 : X86Builtin<" _Vector<64, char>(_Vector<32, _Float16>, _Vector<32, _Float16>)" >;
5214+ def vcvt2ph2bf8s_512 : X86Builtin<" _Vector<64, char>(_Vector<32, _Float16>, _Vector<32, _Float16>)" >;
52155215}
52165216
52175217let Features = " avx10.2-256" , Attributes = [NoThrow, RequiredVectorWidth<128 >] in {
5218- def vcvtne2ph2hf8_128 : X86Builtin<" _Vector<16, char>(_Vector<8, _Float16>, _Vector<8, _Float16>)" >;
5218+ def vcvt2ph2hf8_128 : X86Builtin<" _Vector<16, char>(_Vector<8, _Float16>, _Vector<8, _Float16>)" >;
52195219}
52205220
52215221let Features = " avx10.2-256" , Attributes = [NoThrow, RequiredVectorWidth<256 >] in {
5222- def vcvtne2ph2hf8_256 : X86Builtin<" _Vector<32, char>(_Vector<16, _Float16>, _Vector<16, _Float16>)" >;
5222+ def vcvt2ph2hf8_256 : X86Builtin<" _Vector<32, char>(_Vector<16, _Float16>, _Vector<16, _Float16>)" >;
52235223}
52245224
52255225let Features = " avx10.2-512" , Attributes = [NoThrow, RequiredVectorWidth<512 >] in {
5226- def vcvtne2ph2hf8_512 : X86Builtin<" _Vector<64, char>(_Vector<32, _Float16>, _Vector<32, _Float16>)" >;
5226+ def vcvt2ph2hf8_512 : X86Builtin<" _Vector<64, char>(_Vector<32, _Float16>, _Vector<32, _Float16>)" >;
52275227}
52285228
52295229let Features = " avx10.2-256" , Attributes = [NoThrow, RequiredVectorWidth<128 >] in {
5230- def vcvtne2ph2hf8s_128 : X86Builtin<" _Vector<16, char>(_Vector<8, _Float16>, _Vector<8, _Float16>)" >;
5230+ def vcvt2ph2hf8s_128 : X86Builtin<" _Vector<16, char>(_Vector<8, _Float16>, _Vector<8, _Float16>)" >;
52315231}
52325232
52335233let Features = " avx10.2-256" , Attributes = [NoThrow, RequiredVectorWidth<256 >] in {
5234- def vcvtne2ph2hf8s_256 : X86Builtin<" _Vector<32, char>(_Vector<16, _Float16>, _Vector<16, _Float16>)" >;
5234+ def vcvt2ph2hf8s_256 : X86Builtin<" _Vector<32, char>(_Vector<16, _Float16>, _Vector<16, _Float16>)" >;
52355235}
52365236
52375237let Features = " avx10.2-512" , Attributes = [NoThrow, RequiredVectorWidth<512 >] in {
5238- def vcvtne2ph2hf8s_512 : X86Builtin<" _Vector<64, char>(_Vector<32, _Float16>, _Vector<32, _Float16>)" >;
5238+ def vcvt2ph2hf8s_512 : X86Builtin<" _Vector<64, char>(_Vector<32, _Float16>, _Vector<32, _Float16>)" >;
52395239}
52405240
52415241let Features = " avx10.2-256" , Attributes = [NoThrow, RequiredVectorWidth<128 >] in {
@@ -5251,51 +5251,51 @@ let Features = "avx10.2-512", Attributes = [NoThrow, RequiredVectorWidth<512>] i
52515251}
52525252
52535253let Features = " avx10.2-256" , Attributes = [NoThrow, RequiredVectorWidth<128 >] in {
5254- def vcvtneph2bf8_128_mask : X86Builtin<" _Vector<16, char>(_Vector<8, _Float16>, _Vector<16, char>, unsigned char)" >;
5254+ def vcvtph2bf8_128_mask : X86Builtin<" _Vector<16, char>(_Vector<8, _Float16>, _Vector<16, char>, unsigned char)" >;
52555255}
52565256
52575257let Features = " avx10.2-256" , Attributes = [NoThrow, RequiredVectorWidth<256 >] in {
5258- def vcvtneph2bf8_256_mask : X86Builtin<" _Vector<16, char>(_Vector<16, _Float16>, _Vector<16, char>, unsigned short)" >;
5258+ def vcvtph2bf8_256_mask : X86Builtin<" _Vector<16, char>(_Vector<16, _Float16>, _Vector<16, char>, unsigned short)" >;
52595259}
52605260
52615261let Features = " avx10.2-512" , Attributes = [NoThrow, RequiredVectorWidth<512 >] in {
5262- def vcvtneph2bf8_512_mask : X86Builtin<" _Vector<32, char>(_Vector<32, _Float16>, _Vector<32, char>, unsigned int)" >;
5262+ def vcvtph2bf8_512_mask : X86Builtin<" _Vector<32, char>(_Vector<32, _Float16>, _Vector<32, char>, unsigned int)" >;
52635263}
52645264
52655265let Features = " avx10.2-256" , Attributes = [NoThrow, RequiredVectorWidth<128 >] in {
5266- def vcvtneph2bf8s_128_mask : X86Builtin<" _Vector<16, char>(_Vector<8, _Float16>, _Vector<16, char>, unsigned char)" >;
5266+ def vcvtph2bf8s_128_mask : X86Builtin<" _Vector<16, char>(_Vector<8, _Float16>, _Vector<16, char>, unsigned char)" >;
52675267}
52685268
52695269let Features = " avx10.2-256" , Attributes = [NoThrow, RequiredVectorWidth<256 >] in {
5270- def vcvtneph2bf8s_256_mask : X86Builtin<" _Vector<16, char>(_Vector<16, _Float16>, _Vector<16, char>, unsigned short)" >;
5270+ def vcvtph2bf8s_256_mask : X86Builtin<" _Vector<16, char>(_Vector<16, _Float16>, _Vector<16, char>, unsigned short)" >;
52715271}
52725272
52735273let Features = " avx10.2-512" , Attributes = [NoThrow, RequiredVectorWidth<512 >] in {
5274- def vcvtneph2bf8s_512_mask : X86Builtin<" _Vector<32, char>(_Vector<32, _Float16>, _Vector<32, char>, unsigned int)" >;
5274+ def vcvtph2bf8s_512_mask : X86Builtin<" _Vector<32, char>(_Vector<32, _Float16>, _Vector<32, char>, unsigned int)" >;
52755275}
52765276
52775277let Features = " avx10.2-256" , Attributes = [NoThrow, RequiredVectorWidth<128 >] in {
5278- def vcvtneph2hf8_128_mask : X86Builtin<" _Vector<16, char>(_Vector<8, _Float16>, _Vector<16, char>, unsigned char)" >;
5278+ def vcvtph2hf8_128_mask : X86Builtin<" _Vector<16, char>(_Vector<8, _Float16>, _Vector<16, char>, unsigned char)" >;
52795279}
52805280
52815281let Features = " avx10.2-256" , Attributes = [NoThrow, RequiredVectorWidth<256 >] in {
5282- def vcvtneph2hf8_256_mask : X86Builtin<" _Vector<16, char>(_Vector<16, _Float16>, _Vector<16, char>, unsigned short)" >;
5282+ def vcvtph2hf8_256_mask : X86Builtin<" _Vector<16, char>(_Vector<16, _Float16>, _Vector<16, char>, unsigned short)" >;
52835283}
52845284
52855285let Features = " avx10.2-512" , Attributes = [NoThrow, RequiredVectorWidth<512 >] in {
5286- def vcvtneph2hf8_512_mask : X86Builtin<" _Vector<32, char>(_Vector<32, _Float16>, _Vector<32, char>, unsigned int)" >;
5286+ def vcvtph2hf8_512_mask : X86Builtin<" _Vector<32, char>(_Vector<32, _Float16>, _Vector<32, char>, unsigned int)" >;
52875287}
52885288
52895289let Features = " avx10.2-256" , Attributes = [NoThrow, RequiredVectorWidth<128 >] in {
5290- def vcvtneph2hf8s_128_mask : X86Builtin<" _Vector<16, char>(_Vector<8, _Float16>, _Vector<16, char>, unsigned char)" >;
5290+ def vcvtph2hf8s_128_mask : X86Builtin<" _Vector<16, char>(_Vector<8, _Float16>, _Vector<16, char>, unsigned char)" >;
52915291}
52925292
52935293let Features = " avx10.2-256" , Attributes = [NoThrow, RequiredVectorWidth<256 >] in {
5294- def vcvtneph2hf8s_256_mask : X86Builtin<" _Vector<16, char>(_Vector<16, _Float16>, _Vector<16, char>, unsigned short)" >;
5294+ def vcvtph2hf8s_256_mask : X86Builtin<" _Vector<16, char>(_Vector<16, _Float16>, _Vector<16, char>, unsigned short)" >;
52955295}
52965296
52975297let Features = " avx10.2-512" , Attributes = [NoThrow, RequiredVectorWidth<512 >] in {
5298- def vcvtneph2hf8s_512_mask : X86Builtin<" _Vector<32, char>(_Vector<32, _Float16>, _Vector<32, char>, unsigned int)" >;
5298+ def vcvtph2hf8s_512_mask : X86Builtin<" _Vector<32, char>(_Vector<32, _Float16>, _Vector<32, char>, unsigned int)" >;
52995299}
53005300
53015301let Features = " avx10.2-256" , Attributes = [NoThrow, RequiredVectorWidth<128 >] in {
@@ -5375,14 +5375,9 @@ let Features = "avx10.2-512", Attributes = [NoThrow, Const, RequiredVectorWidth<
53755375 def vsubnepbf16512 : X86Builtin<" _Vector<32, __bf16>(_Vector<32, __bf16>, _Vector<32, __bf16>)" >;
53765376}
53775377
5378- let Features = " avx10.2-256" , Attributes = [NoThrow, Const, RequiredVectorWidth<128 >] in {
5379- def vcomsbf16eq : X86Builtin<" int(_Vector<8, __bf16>, _Vector<8, __bf16>)" >;
5380- def vcomsbf16lt : X86Builtin<" int(_Vector<8, __bf16>, _Vector<8, __bf16>)" >;
5381- def vcomsbf16neq : X86Builtin<" int(_Vector<8, __bf16>, _Vector<8, __bf16>)" >;
5382- def vcomsbf16ge : X86Builtin<" int(_Vector<8, __bf16>, _Vector<8, __bf16>)" >;
5383- def vcomsbf16gt : X86Builtin<" int(_Vector<8, __bf16>, _Vector<8, __bf16>)" >;
5384- def vcomsbf16le : X86Builtin<" int(_Vector<8, __bf16>, _Vector<8, __bf16>)" >;
5385- }
5378+ let Features = " avx10.2-256" , Attributes = [NoThrow, Const, RequiredVectorWidth<128 >] in
5379+ foreach Cmp = [" eq" , " lt" , " le" , " gt" , " ge" , " neq" ] in
5380+ def vcomisbf16#Cmp : X86Builtin<" int(_Vector<8, __bf16>, _Vector<8, __bf16>)" >;
53865381
53875382let Features = " avx10.2-512" , Attributes = [NoThrow, Const, RequiredVectorWidth<512 >] in {
53885383 def vcmppbf16512_mask : X86Builtin<" unsigned int(_Vector<32, __bf16>, _Vector<32, __bf16>, _Constant int, unsigned int)" >;
0 commit comments