]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
doc, xtensa: Clean up Xtensa options documentation [PR122243]
authorSandra Loosemore <sloosemore@baylibre.com>
Thu, 8 Jan 2026 17:24:56 +0000 (17:24 +0000)
committerSandra Loosemore <sloosemore@baylibre.com>
Sat, 17 Jan 2026 21:20:50 +0000 (21:20 +0000)
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.

gcc/config/xtensa/uclinux.opt
gcc/config/xtensa/xtensa.opt
gcc/doc/invoke.texi

index 49b9617b4f5ce6719e707d3172682932779cc8b8..0b6e80bbd94d52b39a427894562b7196674d3a0a 100644 (file)
@@ -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.
index 6937e66de3f63caf7f9d9a672236f4f606a29325..aee776f124e1fe4338286dfe0d77b89a2057f8d0 100644 (file)
@@ -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
index 88ecf054664a08c6128593212f9d756a748a57cb..c9ffacde849060795492ee5d2f7b5f36aa560d42 100644 (file)
@@ -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.