Refine expander vec_unpacku_float_hi_v16si/vec_unpacku_float_lo_v16si
authorliuhongt <hongtao.liu@intel.com>
Tue, 11 Aug 2020 03:05:40 +0000 (11:05 +0800)
committerliuhongt <hongtao.liu@intel.com>
Mon, 31 Aug 2020 09:43:59 +0000 (17:43 +0800)
commit1aa71af09350b9ff4d2fad88a440b682545682ec
tree0dba644967686c21270ec562c017857ecaf02425
parent39f5b724844a28bea3dbb2a5c0b88bdce89ec4cb
Refine expander vec_unpacku_float_hi_v16si/vec_unpacku_float_lo_v16si

gcc/
PR target/96551
* config/i386/sse.md (vec_unpacku_float_hi_v16si): For vector
compare to integer mask, don't use gen_rtx_LT, use
ix86_expand_mask_vec_cmp instead.
(vec_unpacku_float_hi_v16si): Ditto.

gcc/testsuite
* gcc.target/i386/avx512f-pr96551-1.c: New test.
* gcc.target/i386/avx512f-pr96551-2.c: New test.
gcc/config/i386/sse.md
gcc/testsuite/gcc.target/i386/avx512f-pr96551-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512f-pr96551-2.c [new file with mode: 0644]