[08/20] doc, m32r: Clean up documentation of M32R/D options [PR122243]

Message ID 20251207001030.1024365-9-sloosemore@baylibre.com
State Committed
Commit 0928e08cd76d45fa0987d0376ff2675c80d6cca7
Headers
Series Second set of doc updates for target-specific options |

Commit Message

Sandra Loosemore Dec. 7, 2025, 12:10 a.m. UTC
  gcc/ChangeLog
	PR other/122243
	* doc/invoke.texi (Option Summary) <M32R/D Options>: Remove
	redundant -mno entry.
	(M32R/D Options): Regularize form of @opindex entries for
	various options of the form -mfoo=@var{value}.  Combine
	the documentation for -malign-loops and -mno-align-loops.
---
 gcc/doc/invoke.texi | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)
  

Patch

diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 3c9d004790f..2ce6462c66d 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -1173,7 +1173,7 @@  Objective-C and Objective-C++ Dialects}.
 @emph{M32R/D Options} (@ref{M32R/D Options})
 @gccoptlist{-m32r2  -m32rx  -m32r
 -mdebug
--malign-loops  -mno-align-loops
+-malign-loops
 -missue-rate=@var{number}
 -mbranch-cost=@var{number}
 -mmodel=@var{code-size-model-type}
@@ -29110,6 +29110,7 @@  Generate code for the M32R/X@.
 @item -m32r
 Generate code for the M32R@.  This is the default.
 
+@opindex mmodel
 @opindex mmodel=small
 @item -mmodel=small
 Assume all objects live in the lower 16MB of memory (so that their addresses
@@ -29134,6 +29135,7 @@  assume subroutines may not be reachable with the @code{bl} instruction
 (the compiler generates the much slower @code{seth/add3/jl}
 instruction sequence).
 
+@opindex msdata
 @opindex msdata=none
 @item -msdata=none
 Disable use of the small data area.  Variables are put into
@@ -29175,24 +29177,22 @@  Makes the M32R-specific code in the compiler display some statistics
 that might help in debugging programs.
 
 @opindex malign-loops
-@item -malign-loops
-Align all loops to a 32-byte boundary.
-
 @opindex mno-align-loops
-@item -mno-align-loops
-Do not enforce a 32-byte alignment for loops.  This is the default.
+@item -malign-loops
+@itemx -mno-align-loops
+Align all loops to a 32-byte boundary.  This option is disabled by default.
 
-@opindex missue-rate=@var{number}
+@opindex missue-rate
 @item -missue-rate=@var{number}
 Issue @var{number} instructions per cycle.  @var{number} can only be 1
 or 2.
 
-@opindex mbranch-cost=@var{number}
+@opindex mbranch-cost
 @item -mbranch-cost=@var{number}
 @var{number} can only be 1 or 2.  If it is 1 then branches are
 preferred over conditional code, if it is 2, then the opposite applies.
 
-@opindex mflush-trap=@var{number}
+@opindex mflush-trap
 @item -mflush-trap=@var{number}
 Specifies the trap number to use to flush the cache.  The default is
 12.  Valid numbers are between 0 and 15 inclusive.
@@ -29201,7 +29201,7 @@  Specifies the trap number to use to flush the cache.  The default is
 @item -mno-flush-trap
 Specifies that the cache cannot be flushed by using a trap.
 
-@opindex mflush-func=@var{name}
+@opindex mflush-func
 @item -mflush-func=@var{name}
 Specifies the name of the operating system function to call to flush
 the cache.  The default is @samp{_flush_cache}, but a function call