public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/104963] New: GCC11/12 -march=sapphirerapids miss some isa.
@ 2022-03-17  6:30 crazylht at gmail dot com
  2022-03-18  8:25 ` [Bug target/104963] GCC11/12 -march=sapphirerapids misses some ISAs cvs-commit at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: crazylht at gmail dot com @ 2022-03-17  6:30 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104963

            Bug ID: 104963
           Summary: GCC11/12 -march=sapphirerapids miss some isa.
           Product: gcc
           Version: 11.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: crazylht at gmail dot com
  Target Milestone: ---

error: inlining failed in call to 'always_inline' '__m512i
_mm512_permutexvar_epi8(__m512i, __m512i)': target specific option mismatch
   71 | _mm512_permutexvar_epi8 (__m512i __A, __m512i __B)

#include<immintrin.h>

__m512i
foo (__m512i a, __m512i b)
{
    return _mm512_permutexvar_epi8(a, b);
}

gcc11/gcc12 -O2 -march=sapphirerapids -S

in i386.h

constexpr wide_int_bitmask PTA_SAPPHIRERAPIDS = PTA_COOPERLAKE | PTA_MOVDIRI

It should base on PTA_ICELAKE_SERVER instead on PTA_COOPERLAKE

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-03-18  8:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-17  6:30 [Bug target/104963] New: GCC11/12 -march=sapphirerapids miss some isa crazylht at gmail dot com
2022-03-18  8:25 ` [Bug target/104963] GCC11/12 -march=sapphirerapids misses some ISAs cvs-commit at gcc dot gnu.org
2022-03-18  8:42 ` cvs-commit at gcc dot gnu.org
2022-03-18  8:43 ` crazylht at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).