diff options
author | Zhang, Jun <jun.zhang@intel.com> | 2024-08-26 10:53:54 +0800 |
---|---|---|
committer | Haochen Jiang <haochen.jiang@intel.com> | 2024-08-26 13:22:04 +0800 |
commit | 576bd309ded9dfe258023f26924c064a7bf12875 (patch) | |
tree | 650603cfdc7c4f3eb6b659b0b40d9c21a9cb2942 /gcc/tree-if-conv.cc | |
parent | f6fe2962daf7b8d8532c768c3b9eab00f99cce5b (diff) | |
download | gcc-576bd309ded9dfe258023f26924c064a7bf12875.zip gcc-576bd309ded9dfe258023f26924c064a7bf12875.tar.gz gcc-576bd309ded9dfe258023f26924c064a7bf12875.tar.bz2 |
AVX10.2: Support compare instructions
gcc/ChangeLog:
* config/i386/i386-expand.cc
(ix86_ssecom_setcc): Mention behavior change on flags.
(ix86_expand_sse_comi): Handle AVX10.2 behavior.
(ix86_expand_sse_comi_round): Ditto.
(ix86_expand_round_builtin): Ditto.
(ix86_expand_builtin): Change function call.
* config/i386/i386.md (UNSPEC_COMX): New unspec.
* config/i386/sse.md
(avx10_2_v<unord>comx<ssemodesuffix><round_saeonly_name>): New.
(<sse>_<unord>comi<round_saeonly_name>): Add HFmode.
gcc/testsuite/ChangeLog:
* gcc.target/i386/avx10_2-compare-1.c: New test.
Co-authored-by: Haochen Jiang <haochen.jiang@intel.com>
Co-authored-by: Hongtao Liu <hongtao.liu@intel.com>
Diffstat (limited to 'gcc/tree-if-conv.cc')
0 files changed, 0 insertions, 0 deletions