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

* [Bug target/104963] GCC11/12 -march=sapphirerapids misses some ISAs.
  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 ` 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
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-03-18  8:25 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by hongtao Liu <liuhongt@gcc.gnu.org>:

https://gcc.gnu.org/g:16fe6e8c9787a3be47bee3dbf094d22a5691c190

commit r12-7697-g16fe6e8c9787a3be47bee3dbf094d22a5691c190
Author: Cui,Lili <lili.cui@intel.com>
Date:   Thu Mar 17 14:34:49 2022 +0800

    x86: Correct march=sapphirerapids to base on icelake server

    march=sapphirerapids should be based on icelake server not cooperlake.

    gcc/ChangeLog:

            PR target/104963
            * config/i386/i386.h (PTA_SAPPHIRERAPIDS): change it to base on
ICX.
            * doc/invoke.texi: Update documents for Intel sapphirerapids.

    gcc/testsuite/ChangeLog:

            PR target/104963
            * gcc.target/i386/pr104963.c: New test case.

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

* [Bug target/104963] GCC11/12 -march=sapphirerapids misses some ISAs.
  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
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-03-18  8:42 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-11 branch has been updated by hongtao Liu
<liuhongt@gcc.gnu.org>:

https://gcc.gnu.org/g:67e70a1a48ebf7db44710f3b022465ec38dfe5aa

commit r11-9667-g67e70a1a48ebf7db44710f3b022465ec38dfe5aa
Author: Cui,Lili <lili.cui@intel.com>
Date:   Thu Mar 17 14:34:49 2022 +0800

    x86: Correct march=sapphirerapids to base on icelake server

    march=sapphirerapids should be based on icelake server not cooperlake.

    gcc/ChangeLog:

            PR target/104963
            * config/i386/i386.h (PTA_SAPPHIRERAPIDS): change it to base on
ICX.
            * doc/invoke.texi: Update documents for Intel sapphirerapids.

    gcc/testsuite/ChangeLog

            PR target/104963
            * gcc.target/i386/pr104963.c: New test case.

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

* [Bug target/104963] GCC11/12 -march=sapphirerapids misses some ISAs.
  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
  2 siblings, 0 replies; 4+ messages in thread
From: crazylht at gmail dot com @ 2022-03-18  8:43 UTC (permalink / raw)
  To: gcc-bugs

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

Hongtao.liu <crazylht at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #3 from Hongtao.liu <crazylht at gmail dot com> ---
Fixed in GCC12 and GCC11.3

^ 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).