Fix various x86 avx512{bitalg, vpopcntdq, vbmi2} issues (PR target/83488)
authorJulia Koval <julia.koval@intel.com>
Fri, 26 Jan 2018 04:14:15 +0000 (05:14 +0100)
committerKirill Yukhin <kyukhin@gcc.gnu.org>
Fri, 26 Jan 2018 04:14:15 +0000 (04:14 +0000)
commitaad36c569d14bada8f278fcdb9eb78056ae6b6ac
treeeff8ca625509539ee62ed6ee042b45f4e4af6f6c
parent09e2984ff8b755ea4a2f03d07b9b955625fb3ef2
Fix various x86 avx512{bitalg, vpopcntdq, vbmi2} issues (PR target/83488)

gcc/
* config/i386/avx512bitalgintrin.h (_mm512_bitshuffle_epi64_mask,
_mm512_mask_bitshuffle_epi64_mask, _mm256_bitshuffle_epi64_mask,
_mm256_mask_bitshuffle_epi64_mask, _mm_bitshuffle_epi64_mask,
_mm_mask_bitshuffle_epi64_mask): Fix type.
* config/i386/i386-builtin-types.def (UHI_FTYPE_V2DI_V2DI_UHI,
USI_FTYPE_V4DI_V4DI_USI): Remove.
* config/i386/i386-builtin.def (__builtin_ia32_vpshufbitqmb512_mask,
__builtin_ia32_vpshufbitqmb256_mask,
__builtin_ia32_vpshufbitqmb128_mask): Fix types.
* config/i386/i386.c (ix86_expand_args_builtin): Remove old types.
* config/i386/sse.md (VI1_AVX512VLBW): Change types.

gcc/testsuite/
* gcc.target/i386/avx512bitalg-vpshufbitqmb-1.c: Add -mavx512f -mavx512bw.
* gcc.target/i386/avx512bitalgvl-vpshufbitqmb-1.c: Add -mavx512bw.
* gcc.target/i386/i386.exp: Fix types.

From-SVN: r257075
gcc/ChangeLog
gcc/config/i386/avx512bitalgintrin.h
gcc/config/i386/i386-builtin-types.def
gcc/config/i386/i386-builtin.def
gcc/config/i386/i386.c
gcc/config/i386/sse.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/avx512bitalg-vpshufbitqmb-1.c
gcc/testsuite/gcc.target/i386/avx512bitalgvl-vpshufbitqmb-1.c
gcc/testsuite/gcc.target/i386/i386.exp