This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/82094] error: inlining failed in call to always_inline ‘_mm512_permutexvar_epi8’


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]