i386: Add AVX512 unaligned intrinsics
authorSunil K Pandey <sunil.k.pandey@intel.com>
Thu, 11 Jul 2019 19:09:37 +0000 (19:09 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Thu, 11 Jul 2019 19:09:37 +0000 (12:09 -0700)
commit4c98bdadcb67e12c63882587d96ab6335711f009
tree9402d47d87aa700ffe7730a1652c608b58896f21
parent998175f6465a95fe812c0bc793600115393bb315
i386: Add AVX512 unaligned intrinsics

__m512i _mm512_loadu_epi64( void * sa);
void _mm512_storeu_epi64(void * d, __m512i a);
__m512i _mm512_loadu_epi32( void * sa);
void _mm512_storeu_epi32(void * d, __m512i a);
void _mm256_storeu_epi64(void * d, __m256i a);
void _mm_storeu_epi64(void * d, __m128i a);
void _mm256_storeu_epi32(void * d, __m256i a);
void _mm_storeu_epi32(void * d, __m128i a);

Tested on x86-64.

2019-07-11  Sunil K Pandey  <sunil.k.pandey@intel.com>

gcc/

PR target/90980
* config/i386/avx512fintrin.h (_mm512_loadu_epi64): New.
(_mm512_storeu_epi64): Likewise.
(_mm512_loadu_epi32): Likewise.
(_mm512_storeu_epi32): Likewise.
* config/i386/avx512vlintrin.h (_mm256_storeu_epi64): New.
(_mm_storeu_epi64): Likewise.
(_mm256_storeu_epi32): Likewise.
(_mm_storeu_epi32): Likewise.

gcc/testsuite/

PR target/90980
* gcc.target/i386/pr90980-1.c: New test.
* gcc.target/i386/pr90980-2.c: Likewise.
* gcc.target/i386/pr90980-3.c: Likewise.

From-SVN: r273416
gcc/ChangeLog
gcc/config/i386/avx512fintrin.h
gcc/config/i386/avx512vlintrin.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr90980-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr90980-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr90980-3.c [new file with mode: 0644]