re PR target/77476 ([AVX-512] illegal kmovb instruction on KNL)
authorJakub Jelinek <jakub@redhat.com>
Mon, 5 Sep 2016 19:45:21 +0000 (21:45 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 5 Sep 2016 19:45:21 +0000 (21:45 +0200)
commitde9188e00495478f948a0b18650a9d90afd970f5
treefa939b7010e4f5e496f23badba5bcde11924b80d
parentc76f7809850c894df300556e4b7c31755b6e027c
re PR target/77476 ([AVX-512] illegal kmovb instruction on KNL)

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.

From-SVN: r240000
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]