re PR target/83250 (_mm256_zextsi128_si256 missing for AVX2 zero extension)
authorJakub Jelinek <jakub@redhat.com>
Mon, 12 Aug 2019 15:55:56 +0000 (17:55 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 12 Aug 2019 15:55:56 +0000 (17:55 +0200)
commite6b2dc248df351be58ecaa8bb5af8ec523d2530e
tree2f587dc599b3d24fec1f6399351d8dfe5f88ca09
parent6fd4b25b508b55fd3f93d1a9f352d085c175b1f2
re PR target/83250 (_mm256_zextsi128_si256 missing for AVX2 zero extension)

PR target/83250
PR target/91340
* config/i386/avxintrin.h (_mm256_zextpd128_pd256,
_mm256_zextps128_ps256, _mm256_zextsi128_si256): New intrinsics.
* config/i386/avx512fintrin.h (_mm512_zextpd128_pd512,
_mm512_zextps128_ps512, _mm512_zextsi128_si512, _mm512_zextpd256_pd512,
_mm512_zextps256_ps512, _mm512_zextsi256_si512): Likewise.

* gcc.target/i386/avx-typecast-1.c: New test.
* gcc.target/i386/avx-typecast-2.c: New test.
* gcc.target/i386/avx512f-typecast-2.c: New test.

From-SVN: r274313
gcc/ChangeLog
gcc/config/i386/avx512fintrin.h
gcc/config/i386/avxintrin.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/avx-typecast-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx-typecast-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512f-typecast-2.c [new file with mode: 0644]