public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/omp/gcc-13] amdgcn: Update mxnack entry in invoke.texi
@ 2023-05-30 11:26 Tobias Burnus
  0 siblings, 0 replies; only message in thread
From: Tobias Burnus @ 2023-05-30 11:26 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:6f08aabb51e401e5df461281333f95b46300c81b

commit 6f08aabb51e401e5df461281333f95b46300c81b
Author: Tobias Burnus <tobias@codesourcery.com>
Date:   Tue May 30 11:59:15 2023 +0200

    amdgcn: Update mxnack entry in invoke.texi
    
    This is a backport of fixes from r14-1299-g366e3d30b8d5dc to
    OG13, which already contains the other changes (and more) due to
    commit 0229066ecb2 amdgcn: Support XNACK mode
    
    gcc/
            * config/gcn/gcn.opt (mxnack=): Fix default value in the
            description line.
            * doc/invoke.texi (mxnack): Update to the on/off/any
            version.

Diff:
---
 gcc/ChangeLog.omp      |  7 +++++++
 gcc/config/gcn/gcn.opt |  2 +-
 gcc/doc/invoke.texi    | 13 +++++++------
 3 files changed, 15 insertions(+), 7 deletions(-)

diff --git a/gcc/ChangeLog.omp b/gcc/ChangeLog.omp
index 7da4df4f961..cb7f1048831 100644
--- a/gcc/ChangeLog.omp
+++ b/gcc/ChangeLog.omp
@@ -1,3 +1,10 @@
+2023-05-30  Tobias Burnus  <tobias@codesourcery.com>
+
+	* config/gcn/gcn.opt (mxnack=): Fix default value in the
+	description line.
+	* doc/invoke.texi (mxnack): Update to the on/off/any
+	version.
+
 2023-05-30  Tobias Burnus  <tobias@codesourcery.com>
 
 	Backport from master:
diff --git a/gcc/config/gcn/gcn.opt b/gcc/config/gcn/gcn.opt
index 8ab62cf2c91..f6f0ecd663d 100644
--- a/gcc/config/gcn/gcn.opt
+++ b/gcc/config/gcn/gcn.opt
@@ -96,7 +96,7 @@ Enum(hsaco_attr_type) String(any) Value(HSACO_ATTR_ANY)
 
 mxnack=
 Target RejectNegative Joined ToLower Enum(hsaco_attr_type) Var(flag_xnack) Init(HSACO_ATTR_ANY)
-Compile for devices requiring XNACK enabled. Default off.
+Compile for devices requiring XNACK enabled. Default \"any\".
 
 msram-ecc=
 Target RejectNegative Joined ToLower Enum(hsaco_attr_type) Var(flag_sram_ecc) Init(HSACO_ATTR_ANY)
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index dbed57a80e2..5394adaa6ce 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -20869,12 +20869,13 @@ run-time performance.  The default is 32KB when using OpenACC or OpenMP, and
 1MB otherwise.
 
 @opindex mxnack
-@item -mxnack
-Compile binaries suitable for devices with the XNACK feature enabled.  Some
-devices always require XNACK and some allow the user to configure XNACK.  The
-compiled code must match the device mode.  The default is @samp{-mno-xnack}.
-At present this option is a placeholder for support that is not yet
-implemented.
+@item -mxnack=on
+@itemx -mxnack=off
+@itemx -mxnack=any
+Compile binaries suitable for devices with the XNACK feature enabled, disabled,
+or either mode.  Some devices always require XNACK and some allow the user to
+configure XNACK.  The compiled code must match the device mode.  The default is
+@samp{-mxnack=any}.
 
 @end table

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-05-30 11:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-30 11:26 [gcc/devel/omp/gcc-13] amdgcn: Update mxnack entry in invoke.texi Tobias Burnus

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