This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/77633] AVX512: shuffle intrinsic has incorrect signature when optimizations are enabled
- 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: Mon, 19 Sep 2016 10:40:10 +0000
- Subject: [Bug target/77633] AVX512: shuffle intrinsic has incorrect signature when optimizations are enabled
- Auto-submitted: auto-generated
- References: <bug-77633-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77633
--- Comment #4 from Wenzel Jakob <wenzel@mitsuba-renderer.org> ---
Aha, interesting -- that breaks it:
test.cpp(9): error: argument of type "int" is incompatible with parameter of
type "_MM_PERM_ENUM={_MM_PERM_ENUM}"
_mm512_shuffle_epi32(_mm512_setzero_epi32(), _MM_SHUFFLE(0, 3, 0, 1));
Definitely not a very nice API design! I assume the right course of action then
will be to mark this issue INVALID and change my code to cast to _MM_PERM_ENUM?