avx512bwintrin.h: Add new k-mask intrinsics.
authorAndrew Senkevich <andrew.senkevich@intel.com>
Thu, 15 Dec 2016 22:39:33 +0000 (22:39 +0000)
committerUros Bizjak <uros@gcc.gnu.org>
Thu, 15 Dec 2016 22:39:33 +0000 (23:39 +0100)
commit7cdb6e4c68a6dacee2308e6e9a8533a0104471d7
tree206704d6b83ddf9eccc5fd067578d6d3b258c457
parentbdb5177687ae4ef0b34d855261af6690dee4bc64
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_kmovb,
__builtin_ia32_kmovd, __builtin_ia32_kmovq): New.
(__builtin_ia32_kmov16): Rename to __builtin_ia32_kmovw.
* config/i386/sse.md (kmov<mskmodesuffix>): New.

testsuite/ChangeLog:

* gcc.target/i386/avx512bw-kmovd-1.c: New test.
* gcc.target/i386/avx512bw-kmovd-2.c: Ditto.
* gcc.target/i386/avx512bw-kmovd-3.c: Ditto.
* gcc.target/i386/avx512bw-kmovd-4.c: Ditto.
* gcc.target/i386/avx512bw-kmovq-1.c: Ditto.
* gcc.target/i386/avx512bw-kmovq-2.c: Ditto.
* gcc.target/i386/avx512bw-kmovq-3.c: Ditto.
* gcc.target/i386/avx512bw-kmovq-4.c: Ditto.
* gcc.target/i386/avx512dq-kmovb-2.c: Ditto.
* gcc.target/i386/avx512dq-kmovb-3.c: Ditto.
* gcc.target/i386/avx512dq-kmovb-4.c: Ditto.
* gcc.target/i386/avx512dq-kmovb-5.c: Ditto.
* gcc.target/i386/avx512f-kmovw-2.c: Ditto.
* gcc.target/i386/avx512f-kmovw-3.c: Ditto.
* gcc.target/i386/avx512f-kmovw-4.c: Ditto.
* gcc.target/i386/avx512f-kmovw-5.c: Ditto.

From-SVN: r243728
23 files changed:
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-kmovd-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512bw-kmovd-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512bw-kmovd-3.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512bw-kmovd-4.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512bw-kmovq-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512bw-kmovq-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512bw-kmovq-3.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512bw-kmovq-4.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512dq-kmovb-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512dq-kmovb-3.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512dq-kmovb-4.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512dq-kmovb-5.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512f-kmovw-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512f-kmovw-3.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512f-kmovw-4.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512f-kmovw-5.c [new file with mode: 0644]