https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91342
Bug ID: 91342
Summary: Incorrect parameter type for AVX512 streaming
intrinsics.
Product: gcc
Version: 9.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: a-yee at u dot northwestern.edu
Target Milestone: ---
According to Intel's docs, all 4 of the AVX512 streaming instructions take void
pointers.
void _mm512_stream_ps (void* mem_addr, __m512 a)
void _mm512_stream_pd (void* mem_addr, __m512d a)
void _mm512_stream_si512 (void* mem_addr, __m512i a)
__m512i _mm512_stream_load_si512 (void const* mem_addr)
But GCC's implementation takes typed pointers.
https://godbolt.org/z/Dkte12