On 24.05.22 17:31, Andrew Stubbs wrote:
amdgcn: Add gfx90a support
Attached is an attempt to update invoke.texi And to update the gcc-13/changes.html. Regarding the latter, I have to versions – the first is more readable, the latter makes more clear where to use it, but reads much worse. – Pick one or suggest a better one. OK for the two patches? Tobias PS: I was thinking of mentioning that GCN now requires llvm-mc of LLVM 13.0.1 or higher (during build + installed as assembler) but I then thought that changes.html is not the best place and there is an error during build, stating what is needed. ----------------- Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht München, HRB 106955
GCN: Add gfx908/gfx90a to -march/-mtune in invoke.texi gcc/ * doc/invoke.texi (AMD GCN Options): Add gfx908/gfx90a. diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index a2f85f0a4ea..521e4b65d3d 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -19740,7 +19740,6 @@ Set architecture type or tuning for @var{gpu}. Supported values for @var{gpu} are @table @samp -@opindex fiji @item fiji Compile for GCN3 Fiji devices (gfx803). @@ -19750,6 +19749,12 @@ Compile for GCN5 Vega 10 devices (gfx900). @item gfx906 Compile for GCN5 Vega 20 devices (gfx906). +@item gfx908 +Compile for CDNA1 Instinct MI100 devices (gfx908). + +@item gfx90a +Compile for CDNA2 Instinct MI200 series devices (gfx90a). + @end table @item -msram-ecc=on
gcc-13/changes.html: Add gfx90a to GCN diff --git a/htdocs/gcc-13/changes.html b/htdocs/gcc-13/changes.html index 6c5b2a37..745aa65c 100644 --- a/htdocs/gcc-13/changes.html +++ b/htdocs/gcc-13/changes.html @@ -95,6 +95,14 @@ a work-in-progress.</p> <!-- <h3 id="aarch64">AArch64</h3> --> +<h3 id="amdgcn">AMD Radeon (GCN)</h3> +<ul> + <li>Support for the Instinct MI200 series (<code>gfx90a</code>) has been + added.</li> + <li>The <code>-march=</code> and <code>-mtune=</code> flags now support + <code>gfx90a</code> for the Instinct MI200 series (gfx90a).</li> +</ul> + <!-- <h3 id="arc">ARC</h3> --> <!-- <h3 id="arm">arm</h3> -->