re PR target/89602 (Missing AVX512 intrinsics)
authorJakub Jelinek <jakub@redhat.com>
Thu, 7 Mar 2019 19:10:21 +0000 (20:10 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 7 Mar 2019 19:10:21 +0000 (20:10 +0100)
commit459d21c6cffb2c74d2644e21db372ba8a0c27eb6
treecf908f801639022dc63d87abf63371f6f03b936d
parent8f5439bea30bd2370638261ec7613628c8918d7d
re PR target/89602 (Missing AVX512 intrinsics)

PR target/89602
* config/i386/sse.md (avx512f_mov<ssescalarmodelower>_mask,
*avx512f_load<mode>_mask, avx512f_store<mode>_mask): New define_insns.
(avx512f_load<mode>_mask): New define_expand.
* config/i386/i386-builtin.def (__builtin_ia32_loadsd_mask,
__builtin_ia32_loadss_mask, __builtin_ia32_storesd_mask,
__builtin_ia32_storess_mask, __builtin_ia32_movesd_mask,
__builtin_ia32_movess_mask): New builtins.
* config/i386/avx512fintrin.h (_mm_mask_load_ss, _mm_maskz_load_ss,
_mm_mask_load_sd, _mm_maskz_load_sd, _mm_mask_move_ss,
_mm_maskz_move_ss, _mm_mask_move_sd, _mm_maskz_move_sd,
_mm_mask_store_ss, _mm_mask_store_sd): New intrinsics.

* gcc.target/i386/avx512f-vmovss-1.c: New test.
* gcc.target/i386/avx512f-vmovss-2.c: New test.
* gcc.target/i386/avx512f-vmovss-3.c: New test.
* gcc.target/i386/avx512f-vmovsd-1.c: New test.
* gcc.target/i386/avx512f-vmovsd-2.c: New test.
* gcc.target/i386/avx512f-vmovsd-3.c: New test.

From-SVN: r269467
gcc/ChangeLog
gcc/config/i386/avx512fintrin.h
gcc/config/i386/i386-builtin.def
gcc/config/i386/sse.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/avx512f-vmovsd-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512f-vmovsd-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512f-vmovsd-3.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512f-vmovss-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512f-vmovss-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512f-vmovss-3.c [new file with mode: 0644]