diff options
author | liuhongt <hongtao.liu@intel.com> | 2021-05-24 10:57:52 +0800 |
---|---|---|
committer | liuhongt <hongtao.liu@intel.com> | 2021-06-28 09:17:36 +0800 |
commit | 3f1a08d9d731975d4061c306837ab28d52f37c7e (patch) | |
tree | 68001ffd1da3a0ded053ace7d5fa4280d902ce92 /gcc/gimple-loop-interchange.cc | |
parent | 28560c6d4043d8f6ac570f35fb84e952e9c719fe (diff) | |
download | gcc-3f1a08d9d731975d4061c306837ab28d52f37c7e.zip gcc-3f1a08d9d731975d4061c306837ab28d52f37c7e.tar.gz gcc-3f1a08d9d731975d4061c306837ab28d52f37c7e.tar.bz2 |
For 128/256-bit vec_cond_expr, When mask operands is lt reg const0_rtx, blendv can be used instead of avx512 mask.
gcc/ChangeLog:
PR target/100648
* config/i386/sse.md (*avx_cmp<mode>3_lt): New
define_insn_and_split.
(*avx_cmp<mode>3_ltint): Ditto.
(*avx2_pcmp<mode>3_3): Ditto.
(*avx2_pcmp<mode>3_4): Ditto.
(*avx2_pcmp<mode>3_5): Ditto.
gcc/testsuite/ChangeLog:
PR target/100648
* g++.target/i386/avx2-pr54700-2.C: Adjust testcase.
* g++.target/i386/avx512vl-pr54700-1a.C: New test.
* g++.target/i386/avx512vl-pr54700-1b.C: New test.
* g++.target/i386/avx512vl-pr54700-2a.C: New test.
* g++.target/i386/avx512vl-pr54700-2b.C: New test.
* gcc.target/i386/avx512vl-pr100648.c: New test.
* gcc.target/i386/avx512vl-blendv-1.c: New test.
* gcc.target/i386/avx512vl-blendv-2.c: New test.
Diffstat (limited to 'gcc/gimple-loop-interchange.cc')
0 files changed, 0 insertions, 0 deletions