]> git.ipfire.org Git - thirdparty/gcc.git/commit
i386: Change mnemonics from VCOMSBF16 to VCOMISBF16
authorHaochen Jiang <haochen.jiang@intel.com>
Thu, 23 Jan 2025 01:52:06 +0000 (09:52 +0800)
committerHaochen Jiang <haochen.jiang@intel.com>
Thu, 23 Jan 2025 01:53:33 +0000 (09:53 +0800)
commita75896c142f845831a81f818dd329e87736c05a9
tree636ad9a71d2ca546dd1000429bbcf79976a5ca23
parenta3e198853031504b5a71373ff09c33ee5be1a824
i386: Change mnemonics from VCOMSBF16 to VCOMISBF16

Besides mnemonics change, this patch also use the compare
pattern instead of UNSPEC.

gcc/ChangeLog:

PR target/118270
* config/i386/avx10_2bf16intrin.h: Change intrin and builtin
name according to new mnemonics.
* config/i386/i386-builtin.def (BDESC): Ditto.
* config/i386/i386-expand.cc
(ix86_expand_fp_compare): Adjust comments.
(ix86_expand_builtin): Adjust switch case.
* config/i386/i386.md (cmpibf): Change instruction name output.
* config/i386/sse.md (UNSPEC_VCOMSBF16): Removed.
(avx10_2_comisbf16_v8bf): New.
(avx10_2_comsbf16_v8bf): Removed.

gcc/testsuite/ChangeLog:

PR target/118270
* gcc.target/i386/avx10_2-comibf-1.c: Adjust asm check.
* gcc.target/i386/avx10_2-comibf-3.c: Ditto.
* gcc.target/i386/avx10_2-vcomsbf16-1.c: Move to...
* gcc.target/i386/avx10_2-vcomisbf16-1.c: ...here.
Adjust output and intrin call.
* gcc.target/i386/avx10_2-vcomsbf16-2.c: Move to...
* gcc.target/i386/avx10_2-vcomisbf16-2.c: ...here.
Adjust intrin call.
* gcc.target/i386/pr117495.c: Adjust asm check.
gcc/config/i386/avx10_2bf16intrin.h
gcc/config/i386/i386-builtin.def
gcc/config/i386/i386-expand.cc
gcc/config/i386/i386.md
gcc/config/i386/sse.md
gcc/testsuite/gcc.target/i386/avx10_2-comibf-1.c
gcc/testsuite/gcc.target/i386/avx10_2-comibf-3.c
gcc/testsuite/gcc.target/i386/avx10_2-vcomisbf16-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx10_2-vcomisbf16-2.c [moved from gcc/testsuite/gcc.target/i386/avx10_2-vcomsbf16-2.c with 95% similarity]
gcc/testsuite/gcc.target/i386/avx10_2-vcomsbf16-1.c [deleted file]
gcc/testsuite/gcc.target/i386/pr117495.c