https://gcc.gnu.org/g:392989cd190393dab1c1c43fcf66b759dc425e47

commit r16-6875-g392989cd190393dab1c1c43fcf66b759dc425e47
Author: Sandra Loosemore <[email protected]>
Date:   Thu Jan 8 17:24:56 2026 +0000

    doc, xtensa: Clean up Xtensa options documentation [PR122243]
    
    gcc/ChangeLog
            PR other/122243
            * config/xtensa/uclinux.opt (elf2flt, elf2flt=): Mark as 
Undocumented.
            * config/xtensa/xtensa.opt (mlra): Likewise.
            * doc/invoke.texi (Option Summary) <Xtensa Options>: Remove
            redundant negative forms plus obsolete -mfused-madd option.
            (Xtensa Options): Likewise undocument -mfused-madd.  List
            negative form of -mforce-no-pic.

Diff:
---
 gcc/config/xtensa/uclinux.opt |  4 ++--
 gcc/config/xtensa/xtensa.opt  |  2 +-
 gcc/doc/invoke.texi           | 36 +++++++-----------------------------
 3 files changed, 10 insertions(+), 32 deletions(-)

diff --git a/gcc/config/xtensa/uclinux.opt b/gcc/config/xtensa/uclinux.opt
index 49b9617b4f5c..0b6e80bbd94d 100644
--- a/gcc/config/xtensa/uclinux.opt
+++ b/gcc/config/xtensa/uclinux.opt
@@ -24,9 +24,9 @@
 ; Please try to keep this file in ASCII collating order.
 
 elf2flt
-Driver
+Driver Undocumented
 
 elf2flt=
-Driver JoinedOrMissing
+Driver Undocumented JoinedOrMissing
 
 ; This comment is to ensure we retain the blank line above.
diff --git a/gcc/config/xtensa/xtensa.opt b/gcc/config/xtensa/xtensa.opt
index 6937e66de3f6..aee776f124e1 100644
--- a/gcc/config/xtensa/xtensa.opt
+++ b/gcc/config/xtensa/xtensa.opt
@@ -38,7 +38,7 @@ Target RejectNegative Joined UInteger 
Var(xtensa_extra_l32r_costs) Init(0)
 Set extra memory access cost for L32R instruction, in clock-cycle units.
 
 mlra
-Target Ignore
+Target Undocumented Ignore
 Does nothing.  Preserved for backward compatibility.
 
 mtarget-align
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 88ecf054664a..c9ffacde8490 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -1569,17 +1569,10 @@ See Cygwin and MinGW Options.
 @gccoptlist{-msim}
 
 @emph{Xtensa Options} (@ref{Xtensa Options})
-@gccoptlist{-mconst16  -mno-const16
--mfused-madd  -mno-fused-madd
--mforce-no-pic
--mserialize-volatile  -mno-serialize-volatile
--mtext-section-literals  -mno-text-section-literals
--mauto-litpools  -mno-auto-litpools
--mtarget-align  -mno-target-align
--mlongcalls  -mno-longcalls
--mabi=@var{abi-type}
--mextra-l32r-costs=@var{cycles}
--mstrict-align  -mno-strict-align}
+@gccoptlist{-mconst16  -mforce-no-pic  -mno-serialize-volatile
+-mtext-section-literals  -mauto-litpools  -mno-target-align
+-mlongcalls  -mabi=@var{abi-type}
+-mextra-l32r-costs=@var{cycles}  -mstrict-align}
 
 @emph{zSeries Options}
 See S/390 and zSeries Options.
@@ -38263,23 +38256,6 @@ instructions are always used in place of the standard 
@code{L32R}
 instructions.  The use of @code{CONST16} is enabled by default only if
 the @code{L32R} instruction is not available.
 
-@opindex mfused-madd
-@opindex mno-fused-madd
-@item -mfused-madd
-@itemx -mno-fused-madd
-Enable or disable use of fused multiply/add and multiply/subtract
-instructions in the floating-point option.  This has no effect if the
-floating-point option is not also enabled.  Disabling fused multiply/add
-and multiply/subtract instructions forces the compiler to use separate
-instructions for the multiply and add/subtract operations.  This may be
-desirable in some cases where strict IEEE 754-compliant results are
-required: the fused multiply add/subtract instructions do not round the
-intermediate result, thereby producing results with @emph{more} bits of
-precision than specified by the IEEE standard.  Disabling fused multiply
-add/subtract instructions also ensures that the program output is not
-sensitive to the compiler's ability to combine multiply and add/subtract
-operations.
-
 @opindex mserialize-volatile
 @opindex mno-serialize-volatile
 @item -mserialize-volatile
@@ -38290,8 +38266,10 @@ The default is @option{-mserialize-volatile}.  Use
 @option{-mno-serialize-volatile} to omit the @code{MEMW} instructions.
 
 @opindex mforce-no-pic
+@opindex mno-force-no-pic
 @item -mforce-no-pic
-For targets, like GNU/Linux, where all user-mode Xtensa code must be
+@itemx -mno-force-no-pic
+For targets like GNU/Linux, where all user-mode Xtensa code must be
 position-independent code (PIC), this option disables PIC for compiling
 kernel code.

Reply via email to