]> git.ipfire.org Git - thirdparty/gcc.git/commit
Support smin/smax for V2HF/V4HF
authorliuhongt <hongtao.liu@intel.com>
Thu, 21 Sep 2023 08:00:57 +0000 (16:00 +0800)
committerliuhongt <hongtao.liu@intel.com>
Sun, 8 Oct 2023 13:04:07 +0000 (21:04 +0800)
commit91fdbd650d4bc3d1a13891095536f317e3a24d7a
tree9bd4cd826916a6e5fa62962bbba248081106b924
parent6a8edd50a149f10621b59798c887c24c81c8b9ea
Support smin/smax for V2HF/V4HF

gcc/ChangeLog:

* config/i386/mmx.md (VHF_32_64): New mode iterator.
(<insn><mode>3): New define_expand, merged from ..
(<insn>v4hf3): .. this and
(<insn>v2hf3): .. this.
(movd_v2hf_to_sse_reg): New define_expand, splitted from ..
(movd_v2hf_to_sse): .. this.
(<code><mode>3): New define_expand.

gcc/testsuite/ChangeLog:

* gcc.target/i386/part-vect-vminmaxph-1.c: New test.
* gcc.target/i386/avx512fp16-64-32-vecop-1.c: Scan-assembler
only for { target { ! ia32 } }.
gcc/config/i386/mmx.md
gcc/testsuite/gcc.target/i386/avx512fp16-64-32-vecop-1.c
gcc/testsuite/gcc.target/i386/part-vect-vminmaxph-1.c [new file with mode: 0644]