re PR target/85832 ([AVX512] possible shorter code when comparing with vector of...
authorJakub Jelinek <jakub@redhat.com>
Mon, 4 Jun 2018 13:49:55 +0000 (15:49 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 4 Jun 2018 13:49:55 +0000 (15:49 +0200)
commit1fc9aa543f41a1485187c96806950795a7966974
tree580722d2b1665a30f45c005753ba34030a5f1031
parent92a38cfd775c045d7ed8b989b231410849fc22fe
re PR target/85832 ([AVX512] possible shorter code when comparing with vector of zeros)

PR target/85832
PR target/86036
* config/i386/sse.md (<avx512>_eq<mode>3<mask_scalar_merge_name>_1):
Use vptestnm rather than vptestm in (=Yc,v,C) variant.

* gcc.target/i386/avx512f-pr85832.c: Expect vptestnm rather than
vptestm.
* gcc.target/i386/avx512vl-pr85832.c: Likewise.
* gcc.target/i386/avx512vlbw-pr85832.c: Likewise.
* gcc.target/i386/avx512bw-pr85832.c: Likewise.
* gcc.target/i386/avx512bw-pr86036.c: New test.

From-SVN: r261148
gcc/ChangeLog
gcc/config/i386/sse.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/avx512bw-pr85832.c
gcc/testsuite/gcc.target/i386/avx512bw-pr86036.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512f-pr85832.c
gcc/testsuite/gcc.target/i386/avx512vl-pr85832.c
gcc/testsuite/gcc.target/i386/avx512vlbw-pr85832.c