* [wwwdocs] Add znver5 to GCC 14 changes
@ 2024-05-02 21:54 Martin Jambor
2024-05-03 8:35 ` Gerald Pfeifer
0 siblings, 1 reply; 3+ messages in thread
From: Martin Jambor @ 2024-05-02 21:54 UTC (permalink / raw)
To: GCC Patches; +Cc: Nagarajan, Muthu kumar raj, Gerald Pfeifer
Hello,
based on input from AMD, I'd like to commit the following to the wwwdocs
repo to point out new support for Zen 5 based AMD CPUs in GCC 14?
Is it OK? Any suggestions, comments or questions?
Thanks,
Martin
diff --git a/htdocs/gcc-14/changes.html b/htdocs/gcc-14/changes.html
index 8dfbf7dc..d250340b 100644
--- a/htdocs/gcc-14/changes.html
+++ b/htdocs/gcc-14/changes.html
@@ -954,6 +954,11 @@ __asm (".global __flmap_lock" "\n\t"
<code>-fsanitize=hwaddress</code> will enable <code>-mlam=u57</code>
by default.
</li>
+ <li> GCC now supports AMD CPUs based on the znver5 core via
+ <code>-march=znver5</code>. Based on ISA extensions enabled on
+ a znver4 core, the switch further enables the AVXVNNI, MOVDIRI,
+ MOVDIR64B, AVX512VP2INTERSECT, and PREFETCHI ISA extensions.
+ </li>
</ul>
<h3 id="mcore">MCore</h3>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [wwwdocs] Add znver5 to GCC 14 changes
2024-05-02 21:54 [wwwdocs] Add znver5 to GCC 14 changes Martin Jambor
@ 2024-05-03 8:35 ` Gerald Pfeifer
2024-05-03 9:53 ` Martin Jambor
0 siblings, 1 reply; 3+ messages in thread
From: Gerald Pfeifer @ 2024-05-03 8:35 UTC (permalink / raw)
To: Martin Jambor; +Cc: gcc-patches, Nagarajan, Muthu kumar raj
Hi Martin,
On Thu, 2 May 2024, Martin Jambor wrote:
> + <li> GCC now supports AMD CPUs based on the znver5 core via
> + <code>-march=znver5</code>. Based on ISA extensions enabled on
> + a znver4 core, the switch further enables the AVXVNNI, MOVDIRI,
> + MOVDIR64B, AVX512VP2INTERSECT, and PREFETCHI ISA extensions.
just two small suggestions: We usually sort extensions alphabetically,
so AVX512VP2INTERSECT, AVXVNNI, MOVDIR64B, MOVDIRI, and PREFETCHI. If
there is a specific reason to do otherwise, that's okay of course.
And I might write "In addition to the ISA extensions enabled on a znver4
core, this switch..." to avoid the repetition of "based on" (and make it a
bit more clear even that it is a full superset, not just 'loosely' based".
Gerald
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [wwwdocs] Add znver5 to GCC 14 changes
2024-05-03 8:35 ` Gerald Pfeifer
@ 2024-05-03 9:53 ` Martin Jambor
0 siblings, 0 replies; 3+ messages in thread
From: Martin Jambor @ 2024-05-03 9:53 UTC (permalink / raw)
To: Gerald Pfeifer; +Cc: gcc-patches, Nagarajan, Muthu kumar raj
Hi Gerald,
On Fri, May 03 2024, Gerald Pfeifer wrote:
> Hi Martin,
>
> On Thu, 2 May 2024, Martin Jambor wrote:
>> + <li> GCC now supports AMD CPUs based on the znver5 core via
>> + <code>-march=znver5</code>. Based on ISA extensions enabled on
>> + a znver4 core, the switch further enables the AVXVNNI, MOVDIRI,
>> + MOVDIR64B, AVX512VP2INTERSECT, and PREFETCHI ISA extensions.
>
> just two small suggestions: We usually sort extensions alphabetically,
> so AVX512VP2INTERSECT, AVXVNNI, MOVDIR64B, MOVDIRI, and PREFETCHI. If
> there is a specific reason to do otherwise, that's okay of course.
>
> And I might write "In addition to the ISA extensions enabled on a znver4
> core, this switch..." to avoid the repetition of "based on" (and make it a
> bit more clear even that it is a full superset, not just 'loosely' based".
>
Thanks for the suggestions, I'll go ahead and commit the following then.
Martin
diff --git a/htdocs/gcc-14/changes.html b/htdocs/gcc-14/changes.html
index 8dfbf7dc..46a0266d 100644
--- a/htdocs/gcc-14/changes.html
+++ b/htdocs/gcc-14/changes.html
@@ -954,6 +954,12 @@ __asm (".global __flmap_lock" "\n\t"
<code>-fsanitize=hwaddress</code> will enable <code>-mlam=u57</code>
by default.
</li>
+ <li> GCC now supports AMD CPUs based on the znver5 core via
+ <code>-march=znver5</code>. In addition to the ISA extensions
+ enabled on a znver4 core, this switch further enables the
+ AVX512VP2INTERSECT, AVXVNNI, MOVDIR64B, MOVDIRI, and PREFETCHI ISA
+ extensions.
+ </li>
</ul>
<h3 id="mcore">MCore</h3>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-05-03 9:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-02 21:54 [wwwdocs] Add znver5 to GCC 14 changes Martin Jambor
2024-05-03 8:35 ` Gerald Pfeifer
2024-05-03 9:53 ` Martin Jambor
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).