re PR target/87214 (r263772 miscompiled 520.omnetpp_r in SPEC CPU 2017)
authorJakub Jelinek <jakub@redhat.com>
Sun, 27 Jan 2019 11:56:44 +0000 (12:56 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sun, 27 Jan 2019 11:56:44 +0000 (12:56 +0100)
commitb253f94d4f7639adea7469fb7a8481cb05f8d960
tree5bce634849e2157b5efc15cbb2e443591fb6659a
parent2ee43ae6d6973d21cddea8964db58f7abe67df51
re PR target/87214 (r263772 miscompiled 520.omnetpp_r in SPEC CPU 2017)

PR target/87214
* config/i386/sse.md
(<mask_codefor>avx512dq_shuf_<shuffletype>64x2_1<mask_name>,
avx512f_shuf_<shuffletype>64x2_1<mask_name>): Ensure the
first constants in pairs are multiples of 2.  Formatting fixes.
(avx512vl_shuf_<shuffletype>32x4_1<mask_name>,
avx512vl_shuf_<shuffletype>32x4_1<mask_name>): Ensure the
first constants in each quadruple are multiples of 4.  Formatting fixes.

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

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