PR target/77476
commite315ff486b008469189cfd755a54671d8f580d4c
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 Sep 2016 19:45:21 +0000 (5 19:45 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 Sep 2016 19:45:21 +0000 (5 19:45 +0000)
treefa939b7010e4f5e496f23badba5bcde11924b80d
parent8eeca3ac60ff38de387e83097d183bef5c5896e0
PR target/77476
* config/i386/i386.md (isa): Add x64_avx512bw.
(*zero_extendsidi2): For alternative 11 use x64_avx512bw isa.
(kmov_isa): New mode attr.
(zero_extend<mode>di2): Use <kmov_isa> isa for the last alternative.
(*zero_extend<mode>si2): Likewise.
(*zero_extendqihi2): Use avx512dq isa for the last alternative.

* gcc.target/i386/avx512f-pr77476.c: New test.
* gcc.target/i386/avx512bw-pr77476.c: New test.
* gcc.target/i386/avx512dq-pr77476.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@240000 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/i386/i386.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/avx512bw-pr77476.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512dq-pr77476.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512f-pr77476.c [new file with mode: 0644]