re PR target/82370 (AVX512 can use a memory operand for immediate-count vpsrlw, but...
authorJakub Jelinek <jakub@redhat.com>
Tue, 24 Oct 2017 19:34:06 +0000 (21:34 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 24 Oct 2017 19:34:06 +0000 (21:34 +0200)
commit5c0331f62dd2d4025a97538aa6583b787a4a8214
tree4320571507b8f8dba245b2e58c75344695c1fab2
parentff1ff960f5039cf1d2970bfe2ba965d1b994caf1
re PR target/82370 (AVX512 can use a memory operand for immediate-count vpsrlw, but gcc doesn't.)

PR target/82370
* config/i386/sse.md (VIMAX_AVX2): Remove V4TImode.
(VIMAX_AVX2_AVX512BW, VIMAX_AVX512VL): New mode iterators.
(vec_shl_<mode>): Remove unused expander.
(avx512bw_<shift_insn><mode>3): New define_insn.
(<sse2_avx2>_ashl<mode>3, <sse2_avx2>_lshr<mode>3): Replaced by ...
(<sse2_avx2>_<shift_insn><mode>3): ... this.  New define_insn.

* gcc.target/i386/pr82370.c: New test.

From-SVN: r254058
gcc/ChangeLog
gcc/config/i386/sse.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr82370.c [new file with mode: 0644]