re PR target/84786 ([miscompilation] vunpcklpd accessing xmm16-22 targeting KNL)
authorJakub Jelinek <jakub@redhat.com>
Mon, 25 Jun 2018 12:57:04 +0000 (14:57 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 25 Jun 2018 12:57:04 +0000 (14:57 +0200)
commitaf62adb981dbd15d8ac49c52ffcc2028d41dd0ca
treef4e7983a659523c2b2f5defed3f13ae7ccfdfc75
parentaa7c78ca059c8c3d4f14f3ce445a6cc1367be02d
re PR target/84786 ([miscompilation] vunpcklpd accessing xmm16-22 targeting KNL)

PR target/84786
* config/i386/sse.md (vshift_count): New mode attr.
(<shift_insn><mode>3<mask_name>): Use <vshift_count>N instead of vN
as last operand's constraint for VI2_AVX2_AVX512BW shifts.  Use YvN
instead of vN as last operand's constraint for VI48_AVX2 shifts.

* gcc.target/i386/avx512f-pr84786-3.c: New test.

From-SVN: r262015
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/avx512f-pr84786-3.c [new file with mode: 0644]