Enable VNNI support [4/5]
authorJulia Koval <julia.koval@intel.com>
Fri, 8 Dec 2017 08:05:33 +0000 (09:05 +0100)
committerKirill Yukhin <kyukhin@gcc.gnu.org>
Fri, 8 Dec 2017 08:05:33 +0000 (08:05 +0000)
commit5cb7ca60332394a1afa7ed03b70d7718bf86cda3
tree699c470185b0b40bbfdeabb957c8b3dbe55d724a
parent17ecc36ec4753ff04791ee660217fd62b092b3eb
Enable VNNI support [4/5]

gcc/
* config/i386/avx512vnniintrin.h (_mm512_dpwssd_epi32,
_mm512_mask_dpwssd_epi32, _mm512_maskz_dpwssd_epi32): New intrinsics.
* config/i386/avx512vnnivlintrin.h (_mm256_dpwssd_epi32,
_mm256_mask_dpwssd_epi32, _mm256_maskz_dpwssd_epi32, _mm_dpwssd_epi32,
_mm_mask_dpwssd_epi32, _mm_maskz_dpwssd_epi32): Ditto.

gcc/testsuite/
* gcc.target/i386/avx512f-vnni-1.c: Add vdpwssd checks.
* gcc.target/i386/avx512vl-vnni-1.c: Ditto.
* gcc.target/i386/avx512f-vpdpwssd-2.c: New.
* gcc.target/i386/avx512vl-vpdpwssd-2.c: Ditto.

From-SVN: r255496
gcc/ChangeLog
gcc/config/i386/avx512vnniintrin.h
gcc/config/i386/avx512vnnivlintrin.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/avx512f-vnni-1.c
gcc/testsuite/gcc.target/i386/avx512f-vpdpwssd-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512vl-vnni-1.c
gcc/testsuite/gcc.target/i386/avx512vl-vpdpwssd-2.c [new file with mode: 0644]