re PR middle-end/85090 (wrong code with -O2 -fno-tree-dominator-opts -mavx512f -fira...
authorJakub Jelinek <jakub@gcc.gnu.org>
Sun, 1 Apr 2018 06:05:01 +0000 (08:05 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sun, 1 Apr 2018 06:05:01 +0000 (08:05 +0200)
commit7be6ee78d62f0fe1ea00fb6c436b535b391f6d92
tree1eddafeccf10766f89a19b13a94ae5edc5b257ec
parent0a4800de9fbc55c63c757af0dacf76657de46bff
re PR middle-end/85090 (wrong code with -O2 -fno-tree-dominator-opts -mavx512f -fira-algorithm=priority)

PR middle-end/85090
* config/i386/sse.md (V): Add V64QI and V32HI for TARGET_AVX512F.
(V_128_256): New mode iterator.
(*avx512dq_vextract<shuffletype>64x2_1 splitter): New define_split.
(*avx512f_vextract<shuffletype>32x4_1 splitter): Likewise.
(xop_pcmov_<mode><avxsizesuffix>): Use V_128_256 mode iterator instead
of V.
* config/i386/i386.c (ix86_expand_vector_set): Improve V32HImode and
V64QImode expansion for !TARGET_AVX512BW && TARGET_AVX512F.

* gcc.target/i386/avx512f-pr85090-1.c: New test.
* gcc.target/i386/avx512f-pr85090-2.c: New test.
* gcc.target/i386/avx512f-pr85090-3.c: New test.
* gcc.target/i386/avx512bw-pr85090-2.c: New test.
* gcc.target/i386/avx512bw-pr85090-3.c: New test.

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