This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/82094] error: inlining failed in call to always_inline ‘_mm512_permutexvar_epi8’
- From: "marxin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 04 Sep 2017 08:08:19 +0000
- Subject: [Bug target/82094] error: inlining failed in call to always_inline ‘_mm512_permutexvar_epi8’
- Auto-submitted: auto-generated
- References: <bug-82094-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82094
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2017-09-04
CC| |marxin at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Problem is that called function has set ISA flag:
-mavx512vbmi
And that's also what clang says:
clang pr82094.c -march=skylake-avx512 -mavx512f
pr82094.c:16:11: error: always_inline function '_mm512_permutexvar_epi8'
requires target feature 'avx512vbmi', but would be inlined into function 'main'
that is compiled without support for 'avx512vbmi'
c = _mm512_permutexvar_epi8(a, b);
^
Thus it's probably invalid.