re PR target/79299 (Operand size mismatch for `vpgatherqd' w/ -O3 -masm=intel -mavx512bw)
authorJakub Jelinek <jakub@redhat.com>
Tue, 7 Feb 2017 15:42:42 +0000 (16:42 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 7 Feb 2017 15:42:42 +0000 (16:42 +0100)
commit1f138b7529110a63c10743f3e264522a85af941a
tree33df837f5020448f97c791a4035488f34c752fbc
parenta4cf4b647cd239cc57d88ed82f7243e7efdf43f5
re PR target/79299 (Operand size mismatch for `vpgatherqd' w/ -O3 -masm=intel -mavx512bw)

PR target/79299
* config/i386/sse.md (xtg_mode, gatherq_mode): New mode attrs.
(*avx512f_gathersi<mode>, *avx512f_gathersi<mode>_2,
*avx512f_gatherdi<mode>, *avx512f_gatherdi<mode>_2): Use them,
fix -masm=intel patterns.

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

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