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: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 19 Sep 2016 07:52:25 +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 #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Looking at ICC 16.0.2, it uses the same prototypes though, again with
_MM_PERM_ENUM as the type of this argument.
It is true the AVX512 manual states int rather than _MM_PERM_ENUM, so I don't
know what is right. The reason it "works" with -O0 is that for -O0 it uses
preprocessor macros rather than inline functions, so there is no type checking
whatsoever in that case.