public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/97685] New: -march=tremont should enable MOVDIRI/MOVDIR64B/CLDEMOTE/SGX/WAITPKG.
@ 2020-11-03  2:29 crazylht at gmail dot com
  2020-11-05  1:27 ` [Bug target/97685] " crazylht at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: crazylht at gmail dot com @ 2020-11-03  2:29 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 97685
           Summary: -march=tremont should enable
                    MOVDIRI/MOVDIR64B/CLDEMOTE/SGX/WAITPKG.
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: crazylht at gmail dot com
                CC: hjl.tools at gmail dot com, lili.cui at intel dot com
  Target Milestone: ---
            Target: x86_64-*-* i?86-*-*

According to intel SDM, -march=tremont should enable
MOVDIRI/MOVDIR64B/CLDEMOTE/SGX/WAITPKG which is missed in current trunk.

Also PREFECHWT1 should be enabled in KNL and it's successors, and PREFETCHW
should be only available on Silvermont and it's successors, not in Broadwell
and its successors.

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

* [Bug target/97685] -march=tremont should enable MOVDIRI/MOVDIR64B/CLDEMOTE/SGX/WAITPKG.
  2020-11-03  2:29 [Bug target/97685] New: -march=tremont should enable MOVDIRI/MOVDIR64B/CLDEMOTE/SGX/WAITPKG crazylht at gmail dot com
@ 2020-11-05  1:27 ` crazylht at gmail dot com
  2020-11-09  9:27 ` cvs-commit at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: crazylht at gmail dot com @ 2020-11-05  1:27 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Hongtao.liu <crazylht at gmail dot com> ---
HRESET wouldn't be supported on SPR

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

* [Bug target/97685] -march=tremont should enable MOVDIRI/MOVDIR64B/CLDEMOTE/SGX/WAITPKG.
  2020-11-03  2:29 [Bug target/97685] New: -march=tremont should enable MOVDIRI/MOVDIR64B/CLDEMOTE/SGX/WAITPKG crazylht at gmail dot com
  2020-11-05  1:27 ` [Bug target/97685] " crazylht at gmail dot com
@ 2020-11-09  9:27 ` cvs-commit at gcc dot gnu.org
  2020-11-09  9:49 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-11-09  9:27 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 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:dc7e8839c92c4bc3c3741cf27b0af81edb803fe7

commit r11-4829-gdc7e8839c92c4bc3c3741cf27b0af81edb803fe7
Author: Cui,Lili <lili.cui@intel.com>
Date:   Wed Nov 4 14:20:31 2020 +0800

    Enable MOVDIRI, MOVDIR64B, CLDEMOTE and WAITPKG for march=tremont

    1. Enable MOVDIRI, MOVDIR64B, CLDEMOTE and WAITPKG for march=tremont
    2. Move PREFETCHW from march=broadwell to march=silvermont.
    3. Add PREFETCHWT1 to march=knl

    gcc/ChangeLog:

    2020-11-09  Lili Cui  <lili.cui@intel.com>

            PR target/97685
            * config/i386/i386.h:
            (PTA_BROADWELL): Delete PTA_PRFCHW.
            (PTA_SILVERMONT): Add PTA_PRFCHW.
            (PTA_KNL): Add PTA_PREFETCHWT1.
            (PTA_TREMONT): Add PTA_MOVDIRI, PTA_MOVDIR64B, PTA_CLDEMOTE and
PTA_WAITPKG.
            * doc/invoke.texi: Delete PREFETCHW for broadwell, skylake, knl,
knm,
            skylake-avx512, cannonlake, icelake-client, icelake-server,
cascadelake,
            cooperlake, tigerlake and sapphirerapids.
            Add PREFETCHW for silvermont, goldmont, goldmont-plus and tremont.
            Add XSAVEC and XSAVES for goldmont, goldmont-plus and tremont.
            Add MOVDIRI, MOVDIR64B, CLDEMOTE and WAITPKG for tremont.
            Add KEYLOCKER and HREST for alderlake.
            Add AMX-BF16, AMX-TILE, AMX-INT8 and UINTR for sapphirerapids.
            Add KEYLOCKER for tigerlake.

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

* [Bug target/97685] -march=tremont should enable MOVDIRI/MOVDIR64B/CLDEMOTE/SGX/WAITPKG.
  2020-11-03  2:29 [Bug target/97685] New: -march=tremont should enable MOVDIRI/MOVDIR64B/CLDEMOTE/SGX/WAITPKG crazylht at gmail dot com
  2020-11-05  1:27 ` [Bug target/97685] " crazylht at gmail dot com
  2020-11-09  9:27 ` cvs-commit at gcc dot gnu.org
@ 2020-11-09  9:49 ` cvs-commit at gcc dot gnu.org
  2020-11-09  9:51 ` crazylht at gmail dot com
  2020-11-09  9:54 ` cvs-commit at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-11-09  9:49 UTC (permalink / raw)
  To: gcc-bugs

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

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

https://gcc.gnu.org/g:3ec6a380bda3d2193925e1c017ea2739476cc125

commit r10-8995-g3ec6a380bda3d2193925e1c017ea2739476cc125
Author: Cui,Lili <lili.cui@intel.com>
Date:   Wed Nov 4 14:20:31 2020 +0800

    Enable MOVDIRI, MOVDIR64B, CLDEMOTE and WAITPKG for march=tremont

    1. Enable MOVDIRI, MOVDIR64B, CLDEMOTE and WAITPKG for march=tremont
    2. Move PREFETCHW from march=broadwell to march=silvermont.
    3. Add PREFETCHWT1 to march=knl

    gcc/ChangeLog:

    2020-11-09  Lili Cui  <lili.cui@intel.com>

            PR target/97685
            * config/i386/i386.h:
            (PTA_BROADWELL): Delete PTA_PRFCHW.
            (PTA_SILVERMONT): Add PTA_PRFCHW.
            (PTA_KNL): Add PTA_PREFETCHWT1.
            (PTA_TREMONT): Add PTA_MOVDIRI, PTA_MOVDIR64B, PTA_CLDEMOTE and
PTA_WAITPKG.
            * doc/invoke.texi: Delete PREFETCHW for broadwell, skylake, knl,
knm,
            skylake-avx512, cannonlake, icelake-client, icelake-server,
cascadelake,
            cooperlake, tigerlake and sapphirerapids.
            Add PREFETCHW for silvermont, goldmont, goldmont-plus and tremont.
            Add XSAVEC and XSAVES for goldmont, goldmont-plus and tremont.
            Add MOVDIRI, MOVDIR64B, CLDEMOTE and WAITPKG for tremont.
            Add KEYLOCKER and HREST for alderlake.
            Add AMX-BF16, AMX-TILE, AMX-INT8 and UINTR for sapphirerapids.
            Add KEYLOCKER for tigerlake.

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

* [Bug target/97685] -march=tremont should enable MOVDIRI/MOVDIR64B/CLDEMOTE/SGX/WAITPKG.
  2020-11-03  2:29 [Bug target/97685] New: -march=tremont should enable MOVDIRI/MOVDIR64B/CLDEMOTE/SGX/WAITPKG crazylht at gmail dot com
                   ` (2 preceding siblings ...)
  2020-11-09  9:49 ` cvs-commit at gcc dot gnu.org
@ 2020-11-09  9:51 ` crazylht at gmail dot com
  2020-11-09  9:54 ` cvs-commit at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: crazylht at gmail dot com @ 2020-11-09  9:51 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #4 from Hongtao.liu <crazylht at gmail dot com> ---
Fixed in GCC11, backport to GCC10, GCC9.

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

* [Bug target/97685] -march=tremont should enable MOVDIRI/MOVDIR64B/CLDEMOTE/SGX/WAITPKG.
  2020-11-03  2:29 [Bug target/97685] New: -march=tremont should enable MOVDIRI/MOVDIR64B/CLDEMOTE/SGX/WAITPKG crazylht at gmail dot com
                   ` (3 preceding siblings ...)
  2020-11-09  9:51 ` crazylht at gmail dot com
@ 2020-11-09  9:54 ` cvs-commit at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-11-09  9:54 UTC (permalink / raw)
  To: gcc-bugs

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

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

https://gcc.gnu.org/g:97dd08aa244af1e236dec54c014a3e03d34594d0

commit r9-9033-g97dd08aa244af1e236dec54c014a3e03d34594d0
Author: Cui,Lili <lili.cui@intel.com>
Date:   Wed Nov 4 14:20:31 2020 +0800

    Enable MOVDIRI, MOVDIR64B, CLDEMOTE and WAITPKG for march=tremont

    1. Enable MOVDIRI, MOVDIR64B, CLDEMOTE and WAITPKG for march=tremont
    2. Move PREFETCHW from march=broadwell to march=silvermont.
    3. Add PREFETCHWT1 to march=knl

    gcc/ChangeLog:

    2020-11-09  Lili Cui  <lili.cui@intel.com>

            PR target/97685
            * config/i386/i386.h:
            (PTA_BROADWELL): Delete PTA_PRFCHW.
            (PTA_SILVERMONT): Add PTA_PRFCHW.
            (PTA_KNL): Add PTA_PREFETCHWT1.
            (PTA_TREMONT): Add PTA_MOVDIRI, PTA_MOVDIR64B, PTA_CLDEMOTE and
PTA_WAITPKG.
            * doc/invoke.texi: Delete PREFETCHW for broadwell, skylake, knl,
knm,
            skylake-avx512, cannonlake, icelake-client, icelake-server,
cascadelake,
            cooperlake, tigerlake and sapphirerapids.
            Add PREFETCHW for silvermont, goldmont, goldmont-plus and tremont.
            Add XSAVEC and XSAVES for goldmont, goldmont-plus and tremont.
            Add MOVDIRI, MOVDIR64B, CLDEMOTE and WAITPKG for tremont.
            Add KEYLOCKER and HREST for alderlake.
            Add AMX-BF16, AMX-TILE, AMX-INT8 and UINTR for sapphirerapids.
            Add KEYLOCKER for tigerlake.

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

end of thread, other threads:[~2020-11-09  9:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-03  2:29 [Bug target/97685] New: -march=tremont should enable MOVDIRI/MOVDIR64B/CLDEMOTE/SGX/WAITPKG crazylht at gmail dot com
2020-11-05  1:27 ` [Bug target/97685] " crazylht at gmail dot com
2020-11-09  9:27 ` cvs-commit at gcc dot gnu.org
2020-11-09  9:49 ` cvs-commit at gcc dot gnu.org
2020-11-09  9:51 ` crazylht at gmail dot com
2020-11-09  9:54 ` cvs-commit at gcc dot gnu.org

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