]> gcc.gnu.org Git - gcc.git/commit
AVX512FP16: Support cond_op for HFmode
authorHongyu Wang <hongyu.wang@intel.com>
Wed, 8 Sep 2021 01:42:29 +0000 (09:42 +0800)
committerHongyu Wang <hongyu.wang@intel.com>
Fri, 24 Sep 2021 02:25:20 +0000 (10:25 +0800)
commitea0f450e98db5f18d3363679db4cd82961f44642
treec085dcce1c42db5b23973a79b9da4cc3c0de3c8f
parent391b23e02bf29a103422f54ed034650afa99152b
AVX512FP16: Support cond_op for HFmode

gcc/ChangeLog:

* config/i386/sse.md (cond_<insn><mode>): Extend to support
vector HFmodes.
(cond_mul<mode>): Likewise.
(cond_div<mode>): Likewise.
(cond_<code><mode>): Likewise.
(cond_fma<mode>): Likewise.
(cond_fms<mode>): Likewise.
(cond_fnma<mode>): Likewise.
(cond_fnms<mode>): Likewise.

gcc/testsuite/ChangeLog:

* gcc.target/i386/cond_op_addsubmuldiv__Float16-1.c: New test.
* gcc.target/i386/cond_op_addsubmuldiv__Float16-2.c: Ditto.
* gcc.target/i386/cond_op_fma__Float16-1.c: Ditto.
* gcc.target/i386/cond_op_fma__Float16-2.c: Ditto.
* gcc.target/i386/cond_op_maxmin__Float16-1.c: Ditto.
* gcc.target/i386/cond_op_maxmin__Float16-2.c: Ditto.
gcc/config/i386/sse.md
gcc/testsuite/gcc.target/i386/cond_op_addsubmuldiv__Float16-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/cond_op_addsubmuldiv__Float16-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/cond_op_fma__Float16-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/cond_op_fma__Float16-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/cond_op_maxmin__Float16-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/cond_op_maxmin__Float16-2.c [new file with mode: 0644]
This page took 0.069955 seconds and 5 git commands to generate.