re PR target/80322 (convert intrinsics missing)
authorJakub Jelinek <jakub@redhat.com>
Fri, 7 Apr 2017 19:22:00 +0000 (21:22 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 7 Apr 2017 19:22:00 +0000 (21:22 +0200)
commitdcb2c5271869ed6829ca3469946a8ae90a1c1cdb
treea9bc4b1fe5d2c8baa2976db5ddf701d3a56d8b4b
parentecd5b37e1262319ff994756468ea27553fedf4ba
re PR target/80322 (convert intrinsics missing)

PR target/80322
PR target/80323
PR target/80325
PR target/80326
* config/i386/avxintrin.h (_mm256_cvtsd_f64, _mm256_cvtss_f32): New
intrinsics.
* config/i386/avx512fintrin.h (_mm512_int2mask, _mm512_mask2int,
_mm512_abs_ps, _mm512_mask_abs_ps, _mm512_abs_pd, _mm512_mask_abs_pd,
_mm512_cvtsd_f64, _mm512_cvtss_f32): Likewise.

* gcc.target/i386/avx512f-undefined-1.c: New test.
* gcc.target/i386/avx512f-cvtsd-1.c: New test.
* gcc.target/i386/avx-cvtsd-1.c: New test.
* gcc.target/i386/avx512f-cvtss-1.c: New test.
* gcc.target/i386/avx512f-abspd-1.c: New test.
* gcc.target/i386/avx-cvtss-1.c: New test.
* gcc.target/i386/avx512f-absps-1.c: New test.
* gcc.target/i386/avx512f-int2mask-1.c: New test.
* gcc.target/i386/avx512f-mask2int-1.c: New test.

From-SVN: r246774
13 files changed:
gcc/ChangeLog
gcc/config/i386/avx512fintrin.h
gcc/config/i386/avxintrin.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/avx-cvtsd-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx-cvtss-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512f-abspd-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512f-absps-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512f-cvtsd-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512f-cvtss-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512f-int2mask-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512f-mask2int-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512f-undefined-1.c [new file with mode: 0644]