This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/76342] New: AVX512: _mm512_undefined_epi32() intrinsic missing (incorrectly named _mm512_undefined_si512)
- From: "wenzel at mitsuba-renderer dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 13 Aug 2016 20:28:24 +0000
- Subject: [Bug target/76342] New: AVX512: _mm512_undefined_epi32() intrinsic missing (incorrectly named _mm512_undefined_si512)
- Authentication-results: sourceware.org; auth=none
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=76342
Bug ID: 76342
Summary: AVX512: _mm512_undefined_epi32() intrinsic missing
(incorrectly named _mm512_undefined_si512)
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: wenzel@mitsuba-renderer.org
Target Milestone: ---
Consider the following snippet:
// ------------------
#include <immintrin.h>
__m512 test() { return _mm512_undefined_epi32(); }
// ------------------
When compiled with GCC trunk, this yields the following error message:
test.cpp: In function '__m512 test()':
test.cpp:3:24: error: '_mm512_undefined_epi32' was not declared in this scope
__m512 test() { return _mm512_undefined_epi32(); }
^~~~~~~~~~~~~~~~~~~~~~
test.cpp:3:24: note: suggested alternative: '_mm512_undefined_si512'
__m512 test() { return _mm512_undefined_epi32(); }
^~~~~~~~~~~~~~~~~~~~~~
_mm512_undefined_si512
However, there is no _mm512_undefined_si512 intrinsic. It is called
_mm512_undefined_epi32. See here for details:
https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm512_undefined_epi32&expand=5509