sse.md (pbroadcast_evex_isa): New mode attr.
authorJakub Jelinek <jakub@redhat.com>
Wed, 18 May 2016 09:24:59 +0000 (11:24 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 18 May 2016 09:24:59 +0000 (11:24 +0200)
commit8ee911651552dc302c766d34a7a73be1dcfcd7a7
treed2da88103d7b577e0237aa2079652a80808105ec
parentcf4d516a507431bf8a42bf9aa2502b8a1ee34bc7
sse.md (pbroadcast_evex_isa): New mode attr.

* config/i386/sse.md (pbroadcast_evex_isa): New mode attr.
(avx2_pbroadcast<mode>): Add another alternative with v instead
of x constraints in it, using <pbroadcast_evex_isa> isa.
(avx2_pbroadcast<mode>_1): Similarly, add two such alternatives.

* gcc.target/i386/avx512bw-vpbroadcast-1.c: New test.
* gcc.target/i386/avx512bw-vpbroadcast-2.c: New test.
* gcc.target/i386/avx512bw-vpbroadcast-3.c: New test.
* gcc.target/i386/avx512vl-vpbroadcast-1.c: New test.
* gcc.target/i386/avx512vl-vpbroadcast-2.c: New test.
* gcc.target/i386/avx512vl-vpbroadcast-3.c: New test.

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