avx512bwintrin.h: Add new k-mask intrinsics.
authorAndrew Senkevich <andrew.senkevich@intel.com>
Sat, 17 Dec 2016 11:42:05 +0000 (12:42 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Sat, 17 Dec 2016 11:42:05 +0000 (12:42 +0100)
commit75d727d2d061d3e81813cd557ffbc9ff229cff40
tree78032a13e49cf0754b44133f967b34014dff14ec
parent52fd48aeeac6fb83082ed2d89df3688d184a3544
avx512bwintrin.h: Add new k-mask intrinsics.

* config/i386/avx512bwintrin.h: Add new k-mask intrinsics.
* config/i386/avx512dqintrin.h: Ditto.
* config/i386/avx512fintrin.h: Ditto.
* config/i386/i386-builtin.def (__builtin_ia32_kaddqi,
__builtin_ia32_kaddhi, __builtin_ia32_kaddsi,
__builtin_ia32_kadddi): New.
* config/i386/sse.md (kadd<mode>): New.

testsuite/ChangeLog:

* gcc.target/i386/avx512bw-kaddd-1.c: New test.
* gcc.target/i386/avx512bw-kaddq-1.c: Ditto.
* gcc.target/i386/avx512dq-kaddb-1.c: Ditto.
* gcc.target/i386/avx512f-kaddw-1.c: Ditto.

From-SVN: r243774
gcc/ChangeLog
gcc/config/i386/avx512bwintrin.h
gcc/config/i386/avx512dqintrin.h
gcc/config/i386/avx512fintrin.h
gcc/config/i386/i386-builtin.def
gcc/config/i386/sse.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/avx512bw-kaddd-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512bw-kaddq-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512dq-kaddb-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512f-kaddw-1.c [new file with mode: 0644]