re PR target/85169 (wrong code with vector member insert)
authorJakub Jelinek <jakub@redhat.com>
Tue, 3 Apr 2018 16:06:19 +0000 (18:06 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 3 Apr 2018 16:06:19 +0000 (18:06 +0200)
commit4304d6180adc0b3ef2c9fe2a63e829d5f518a12d
treef6033aaa1e72809e1227827f1abf78105d3ab95e
parent86d13a05fd2207c149311941b49b1866aeabfd5c
re PR target/85169 (wrong code with vector member insert)

PR target/85169
* config/i386/i386.c (ix86_expand_vector_set): Use
HOST_WIDE_INT_1U << elt instead of 1 << elt.  Formatting fix.

* gcc.c-torture/execute/pr85169.c: New test.
* gcc.target/i386/avx512f-pr85169.c: New test.
* gcc.target/i386/avx512bw-pr85169.c: New test.

From-SVN: r259037
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr85169.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512bw-pr85169.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512f-pr85169.c [new file with mode: 0644]