]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
doc, nds32: Clean up NDS32 option documentation [PR122243]
authorSandra Loosemore <sloosemore@baylibre.com>
Fri, 5 Dec 2025 17:07:30 +0000 (17:07 +0000)
committerSandra Loosemore <sloosemore@baylibre.com>
Sat, 13 Dec 2025 04:13:46 +0000 (04:13 +0000)
gcc/ChangeLog
PR other/122243
* doc/invoke.texi (Option Summary) <NDS32 Options>: Don't list
both positive and negative option forms.
(NDS32 Options): Consolidate separate entries for positive and
negative forms of the same option.  Document missing negative
forms in the same style.

gcc/doc/invoke.texi

index 87ff1d5f05af29deac1514390d22f786de08e3f7..4d29875dc24ee109b63f45881f22c784d024637b 100644 (file)
@@ -1271,12 +1271,8 @@ Objective-C and Objective-C++ Dialects}.
 @emph{NDS32 Options} (@ref{NDS32 Options})
 @gccoptlist{-mbig-endian  -mlittle-endian
 -mreduced-regs  -mfull-regs
--mcmov  -mno-cmov
--mext-perf  -mno-ext-perf
--mext-perf2  -mno-ext-perf2
--mext-string  -mno-ext-string
--mv3push  -mno-v3push
--m16bit  -mno-16bit
+-mcmov  -mext-perf  -mext-perf2
+-mext-string  -mv3push  -m16bit
 -misr-vector-size=@var{num}
 -mcache-block-size=@var{num}
 -march=@var{arch}
@@ -31408,52 +31404,40 @@ Use reduced-set registers for register allocation.
 Use full-set registers for register allocation.
 
 @opindex mcmov
-@item -mcmov
-Generate conditional move instructions.
-
 @opindex mno-cmov
-@item -mno-cmov
-Do not generate conditional move instructions.
+@item -mcmov
+@itemx -mno-cmov
+Enable/disable generation of conditional move instructions.
 
 @opindex mext-perf
-@item -mext-perf
-Generate performance extension instructions.
-
 @opindex mno-ext-perf
-@item -mno-ext-perf
-Do not generate performance extension instructions.
+@item -mext-perf
+@itemx -mno-ext-perf
+Enable/disable generation of performance extension instructions.
 
 @opindex mext-perf2
-@item -mext-perf2
-Generate performance extension 2 instructions.
-
 @opindex mno-ext-perf2
-@item -mno-ext-perf2
-Do not generate performance extension 2 instructions.
+@item -mext-perf2
+@itemx -mno-ext-perf2
+Enable/disable generation of performance extension 2 instructions.
 
 @opindex mext-string
-@item -mext-string
-Generate string extension instructions.
-
 @opindex mno-ext-string
-@item -mno-ext-string
-Do not generate string extension instructions.
+@item -mext-string
+@itemx -mno-ext-string
+Enable/disable generation of string extension instructions.
 
 @opindex mv3push
-@item -mv3push
-Generate v3 push25/pop25 instructions.
-
 @opindex mno-v3push
-@item -mno-v3push
-Do not generate v3 push25/pop25 instructions.
+@item -mv3push
+@itemx -mno-v3push
+Enable/disable generation of v3 push25/pop25 instructions.
 
 @opindex m16-bit
-@item -m16-bit
-Generate 16-bit instructions.
-
 @opindex mno-16-bit
-@item -mno-16-bit
-Do not generate 16-bit instructions.
+@item -m16-bit
+@itemx -mno-16-bit
+Enable/disable generation of 16-bit instructions.
 
 @opindex misr-vector-size
 @item -misr-vector-size=@var{num}
@@ -31484,12 +31468,16 @@ All the text and data segments can be within 4GB addressing space.
 @end table
 
 @opindex mctor-dtor
+@opindex mno-ctor-dtor
 @item -mctor-dtor
-Enable constructor/destructor feature.
+@itemx -mno-ctor-dtor
+Enable/disable constructor/destructor feature.
 
 @opindex mrelax
+@opindex mno-relax
 @item -mrelax
-Guide linker to relax instructions.
+@itemx -mno-relax
+Enable/disable linker option to relax instructions.
 
 @end table