[wwwdocs] gcc-12/changes.html: Document -misa update for nvptx

Message ID 1ffa4e66-af1a-4392-795a-31a8f0047c92@codesourcery.com
State New
Headers
Series [wwwdocs] gcc-12/changes.html: Document -misa update for nvptx |

Commit Message

Tobias Burnus March 3, 2022, 12:27 p.m. UTC
  The current wording, https://gcc.gnu.org/gcc-12/changes.html#nvptx ,
is outdated and (now wrongly) encourages to use -mptx=.

Updated as follows.

OK?

Tobias
-----------------
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
  

Patch

gcc-12/changes.html: Document -misa update for nvptx

diff --git a/htdocs/gcc-12/changes.html b/htdocs/gcc-12/changes.html
index a3e46eeb..63e2bf63 100644
--- a/htdocs/gcc-12/changes.html
+++ b/htdocs/gcc-12/changes.html
@@ -468,9 +468,14 @@  a work-in-progress.</p>
 
 <h3 id="nvptx">NVPTX</h3>
 <ul>
+  <li>The <code>-misa/<code> flag now supports <code>sm_53</code>,
+    <code>sm_70</code>, <code>sm_75</code>, and <code>sm_80</code> besides
+    <code>sm_30</code> and <code>sm_35</code> (which is the default).</li>
   <li>The <code>-mptx</code> flag has been added to specify the PTX ISA version
       for the generated code; permitted values are <code>3.1</code>
-      (default, matches previous GCC versions) and <code>6.3</code>.
+      (matches previous GCC versions), <code>6.0</code>, <code>6.3</code>,
+      and <code>7.0</code>. If not specified, the used version is the minimal
+      version required for <code>-misa</code> but at least <code>6.0</code>.
   </li>
   <li>The new <code>__PTX_SM__</code> predefined macro allows code to check the
       compute model being targeted by the compiler.</li>