https://gcc.gnu.org/g:32bc699760def63853100069c5bae17a493b5060

commit r16-5715-g32bc699760def63853100069c5bae17a493b5060
Author: Sandra Loosemore <[email protected]>
Date:   Tue Nov 18 14:41:33 2025 +0000

    doc, alpha: Document missing alpha options [PR122243]
    
    gcc/ChangeLog
            PR other/122243
            * config/alpha/alpha.opt (mgas): Mark as Undocumented.
            * doc/invoke.texi (Option Summary) <DEC Alpha Options>:  Add
            -mtls-kernel, -mtls-size=, -mlong-double-128, and -mlong-double-64.
            (DEC Alpha Options): Likewise.

Diff:
---
 gcc/config/alpha/alpha.opt |  2 +-
 gcc/doc/invoke.texi        | 22 +++++++++++++++++++++-
 2 files changed, 22 insertions(+), 2 deletions(-)

diff --git a/gcc/config/alpha/alpha.opt b/gcc/config/alpha/alpha.opt
index 3c1320b5112d..31f4cb5ed61b 100644
--- a/gcc/config/alpha/alpha.opt
+++ b/gcc/config/alpha/alpha.opt
@@ -27,7 +27,7 @@ Target Mask(FPREGS)
 Use fp registers.
 
 mgas
-Target Ignore
+Target Ignore Undocumented
 Does nothing. Preserved for backward compatibility.
 
 mieee-conformant
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 02f2c9a6e933..ef6ca4cf6f2b 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -1073,7 +1073,9 @@ Objective-C and Objective-C++ Dialects}.
 -mfloat-vax  -mfloat-ieee
 -mexplicit-relocs  -msmall-data  -mlarge-data
 -msmall-text  -mlarge-text
--mmemory-latency=@var{time}}
+-mmemory-latency=@var{time}
+-mtls-kernel  -mtls-size=@var{bitsize}
+-mlong-double-128  -mlong-double-64}
 
 @emph{eBPF Options} (@ref{eBPF Options})
 @gccoptlist{-mbig-endian -mlittle-endian
@@ -27540,6 +27542,24 @@ The compiler contains estimates of the number of clock 
cycles for
 Note that L3 is only valid for EV5.
 
 @end table
+
+@opindex mtls-kernel
+@opindex mno-tls-kernel
+@item -mtls-kernel
+Emit @code{rdval} instead of @code{rduniq} for thread pointer.
+
+@opindex mtls-size
+@item -mtls-size=@var{bitsize}
+Specify bit size of immediate TLS offsets.  Valid values for @var{bitsize}
+are 16, 32, and 64; it defaults to 32.
+
+@opindex mlong-double-128
+@opindex mlong-double-64
+@item -mlong-double-128
+@itemx -mlong-double-64
+Specify the size of the @code{long double} type.  Note that
+@option{-mlong-double-128} is incompatible with VAX floating point.
+
 @end table
 
 @node eBPF Options

Reply via email to