i386: Enable AVX512 memory broadcast for INT andnot
authorH.J. Lu <hongjiu.lu@intel.com>
Mon, 22 Oct 2018 07:35:48 +0000 (07:35 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Mon, 22 Oct 2018 07:35:48 +0000 (00:35 -0700)
commita48be73babd27c9deabf099b7202643dd447c9dc
treefe7aa5f35d3d6c32c85c6ead27514e8bec36a5e9
parent0844e4324e7a6a92d76ff781e61ab086f528881d
i386: Enable AVX512 memory broadcast for INT andnot

Many AVX512 vector operations can broadcast from a scalar memory source.
This patch enables memory broadcast for INT andnot operations.

gcc/

PR target/72782
* config/i386/sse.md (*andnot<mode>3_bcst): New.

gcc/testsuite/

PR target/72782
* gcc.target/i386/avx512f-andn-di-zmm-1.c: New test.
* gcc.target/i386/avx512f-andn-si-zmm-1.c: Likewise.
* gcc.target/i386/avx512f-andn-si-zmm-2.c: Likewise.
* gcc.target/i386/avx512f-andn-si-zmm-3.c: Likewise.
* gcc.target/i386/avx512f-andn-si-zmm-4.c: Likewise.
* gcc.target/i386/avx512f-andn-si-zmm-5.c: Likewise.
* gcc.target/i386/avx512vl-andn-si-xmm-1.c: Likewise.
* gcc.target/i386/avx512vl-andn-si-ymm-1.c: Likewise.

From-SVN: r265370
gcc/ChangeLog
gcc/config/i386/sse.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/avx512f-andn-di-zmm-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512f-andn-si-zmm-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512f-andn-si-zmm-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512f-andn-si-zmm-3.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512f-andn-si-zmm-4.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512f-andn-si-zmm-5.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512vl-andn-si-xmm-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512vl-andn-si-ymm-1.c [new file with mode: 0644]