* config/i386/avx512fintrin.h (_mm_mask_rsqrt14_sd)
authorJulia Koval <julia.koval@intel.com>
Thu, 11 May 2017 18:01:12 +0000 (20:01 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Thu, 11 May 2017 18:01:12 +0000 (20:01 +0200)
commitd7a33a4cb02589a3f336ae831e67c8981ab24b4f
tree386c70bd14bff7e6ff87e00912026ee01b109c09
parent31cf88b660fd8b72f81976eaf792d6b288ab6efb
* config/i386/avx512fintrin.h (_mm_mask_rsqrt14_sd)
(_mm_maskz_rsqrt14_sd, _mm_mask_rsqrt14_ss, _mm_maskz_rsqrt14_ss):
New intrinsics.
* config/i386/i386-builtin.def (__builtin_ia32_rsqrt14sd_mask)
(__builtin_ia32_rsqrt14ss_mask): New builtins.
* config/i386/sse.md (rsqrt14_<mode>_mask): New pattern.

testsuite/ChangeLog:

* gcc.target/i386/avx512f-vrsqrt14sd-1.c: Test new intrinsics.
* gcc.target/i386/avx512f-vrsqrt14sd-2.c: Ditto.
* gcc.target/i386/avx512f-vrsqrt14ss-1.c: Ditto.
* gcc.target/i386/avx512f-vrsqrt14ss-2.c: Ditto.

From-SVN: r247920
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-vrsqrt14sd-1.c
gcc/testsuite/gcc.target/i386/avx512f-vrsqrt14sd-2.c
gcc/testsuite/gcc.target/i386/avx512f-vrsqrt14ss-1.c
gcc/testsuite/gcc.target/i386/avx512f-vrsqrt14ss-2.c