avx512fintrin.h (_ktest_mask16_u8, [...]): Move to ...
authorJakub Jelinek <jakub@redhat.com>
Thu, 26 Jan 2017 12:24:58 +0000 (13:24 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 26 Jan 2017 12:24:58 +0000 (13:24 +0100)
commitb5f75f0b64a5692ebe823fffcf6d3a8c82c52d10
treeb4d2ab01125e950e5afacedfa585361af3dd7ecd
parent0a38b341a8c6e6ee8357ca78c3105b7082337611
avx512fintrin.h (_ktest_mask16_u8, [...]): Move to ...

* config/i386/avx512fintrin.h (_ktest_mask16_u8,
_ktestz_mask16_u8, _ktestc_mask16_u8, _kadd_mask16): Move to ...
* config/i386/avx512dqintrin.h (_ktest_mask16_u8,
_ktestz_mask16_u8, _ktestc_mask16_u8, _kadd_mask16): ... here.
* config/i386/i386-builtin.def (__builtin_ia32_ktestchi,
__builtin_ia32_ktestzhi, __builtin_ia32_kaddhi): Use
OPTION_MASK_ISA_AVX512DQ instead of OPTION_MASK_ISA_AVX512F.
* config/i386/sse.md (SWI1248_AVX512BWDQ2): New mode iterator.
(kadd<mode>, ktest<mode>): Use it instead of SWI1248_AVX512BWDQ.
testsuite/
* gcc.target/i386/avx512f-kaddw-1.c: Renamed to ...
* gcc.target/i386/avx512dq-kaddw-1.c: ... this.  New test.  Replace
avx512f with avx512dq.
* gcc.target/i386/avx512f-ktestw-1.c: Renamed to ...
* gcc.target/i386/avx512dq-ktestw-1.c: ... this.  New test.  Replace
avx512f with avx512dq.
* gcc.target/i386/avx512f-ktestw-2.c: Renamed to ...
* gcc.target/i386/avx512dq-ktestw-2.c: ... this.  New test.  Replace
avx512f with avx512dq.

From-SVN: r244929
12 files changed:
gcc/ChangeLog
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/avx512dq-kaddw-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512dq-ktestw-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512dq-ktestw-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512f-kaddw-1.c [deleted file]
gcc/testsuite/gcc.target/i386/avx512f-ktestw-1.c [deleted file]
gcc/testsuite/gcc.target/i386/avx512f-ktestw-2.c [deleted file]