re PR target/79481 (AVX512PF: unmasked gather prefetch intrinsics missing)
authorJakub Jelinek <jakub@redhat.com>
Tue, 14 Feb 2017 19:39:17 +0000 (20:39 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 14 Feb 2017 19:39:17 +0000 (20:39 +0100)
commit63d090338085c842d23594061321eef48a58bd60
tree92751f65cd06f05bf866568b7ceb3399e07a5950
parent8668fae0b767cb6a1eaa688ca0dda3814d66db1b
re PR target/79481 (AVX512PF: unmasked gather prefetch intrinsics missing)

PR target/79481
* config/i386/avx512pfintrin.h (_mm512_prefetch_i32gather_pd,
_mm512_prefetch_i32gather_ps, _mm512_prefetch_i64gather_pd,
_mm512_prefetch_i64gather_ps): New inline functions and macros.

* gcc.target/i386/sse-14.c (test_2vx): Add void return type.
(test_3vx): Change return type from int to void.
(_mm512_prefetch_i32gather_ps, _mm512_prefetch_i32scatter_ps,
_mm512_prefetch_i64gather_ps, _mm512_prefetch_i64scatter_ps,
_mm512_prefetch_i32gather_pd, _mm512_prefetch_i32scatter_pd,
_mm512_prefetch_i64gather_pd, _mm512_prefetch_i64scatter_pd): New
tests.
* gcc.target/i386/sse-22.c (test_2vx): Add void return type.
(test_3vx): Change return type from int to void.
(_mm512_prefetch_i32gather_ps, _mm512_prefetch_i32scatter_ps,
_mm512_prefetch_i64gather_ps, _mm512_prefetch_i64scatter_ps,
_mm512_prefetch_i32gather_pd, _mm512_prefetch_i32scatter_pd,
_mm512_prefetch_i64gather_pd, _mm512_prefetch_i64scatter_pd): New
tests.
* gcc.target/i386/avx512pf-vgatherpf0dpd-1.c: Add non-masked
intrinsic.  Change scan-assembler-times number from 1 to 2.
* gcc.target/i386/avx512pf-vgatherpf0dps-1.c: Likewise.
* gcc.target/i386/avx512pf-vgatherpf0qpd-1.c: Likewise.
* gcc.target/i386/avx512pf-vgatherpf0qps-1.c: Likewise.
* gcc.target/i386/avx512pf-vgatherpf1dpd-1.c: Likewise.
* gcc.target/i386/avx512pf-vgatherpf1dps-1.c: Likewise.
* gcc.target/i386/avx512pf-vgatherpf1qpd-1.c: Likewise.
* gcc.target/i386/avx512pf-vgatherpf1qps-1.c: Likewise.

From-SVN: r245444
13 files changed:
gcc/ChangeLog
gcc/config/i386/avx512pfintrin.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/avx512pf-vgatherpf0dpd-1.c
gcc/testsuite/gcc.target/i386/avx512pf-vgatherpf0dps-1.c
gcc/testsuite/gcc.target/i386/avx512pf-vgatherpf0qpd-1.c
gcc/testsuite/gcc.target/i386/avx512pf-vgatherpf0qps-1.c
gcc/testsuite/gcc.target/i386/avx512pf-vgatherpf1dpd-1.c
gcc/testsuite/gcc.target/i386/avx512pf-vgatherpf1dps-1.c
gcc/testsuite/gcc.target/i386/avx512pf-vgatherpf1qpd-1.c
gcc/testsuite/gcc.target/i386/avx512pf-vgatherpf1qps-1.c
gcc/testsuite/gcc.target/i386/sse-14.c
gcc/testsuite/gcc.target/i386/sse-22.c