re PR target/70927 ([6 only] avx512dq instructions emitted even with -mavx512vl ...
authorJakub Jelinek <jakub@redhat.com>
Tue, 10 May 2016 14:30:02 +0000 (16:30 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 10 May 2016 14:30:02 +0000 (16:30 +0200)
commit4b59d19ffdb4857e14328d8d783176b97ccde23e
tree2d07650232d9d348ae2623cc257cce9b7030dcaa
parent9b5ee426fcfe9d473edff34cd65f99c057799d7d
re PR target/70927 ([6 only] avx512dq instructions emitted even with -mavx512vl -mno-avx512dq)

PR target/70927
* config/i386/sse.md (<sse>_andnot<mode>3<mask_name>),
*<code><mode>3<mask_name>): For !TARGET_AVX512DQ and EVEX encoding,
use vp*[dq] instead of v*p[sd] instructions and adjust mode attribute
accordingly.

* gcc.target/i386/avx512vl-logic-1.c: New test.
* gcc.target/i386/avx512vl-logic-2.c: New test.
* gcc.target/i386/avx512dq-logic-2.c: New test.

From-SVN: r236083
gcc/ChangeLog
gcc/config/i386/sse.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/avx512dq-logic-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512vl-logic-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512vl-logic-2.c [new file with mode: 0644]