]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
LoongArch: Add indexes for some compilation options.
authorLulu Cheng <chenglulu@loongson.cn>
Tue, 9 Apr 2024 03:48:13 +0000 (11:48 +0800)
committerLulu Cheng <chenglulu@loongson.cn>
Tue, 16 Apr 2024 03:04:02 +0000 (11:04 +0800)
gcc/ChangeLog:

* config/loongarch/loongarch.opt.urls: Regenerate.
* config/mn10300/mn10300.opt.urls: Likewise.
* config/msp430/msp430.opt.urls: Likewise.
* config/nds32/nds32-elf.opt.urls: Likewise.
* config/nds32/nds32-linux.opt.urls: Likewise.
* config/nds32/nds32.opt.urls: Likewise.
* config/pru/pru.opt.urls: Likewise.
* config/riscv/riscv.opt.urls: Likewise.
* config/rx/rx.opt.urls: Likewise.
* config/sh/sh.opt.urls: Likewise.
* config/sparc/sparc.opt.urls: Likewise.
* doc/invoke.texi: Add indexes for some compilation options.

12 files changed:
gcc/config/loongarch/loongarch.opt.urls
gcc/config/mn10300/mn10300.opt.urls
gcc/config/msp430/msp430.opt.urls
gcc/config/nds32/nds32-elf.opt.urls
gcc/config/nds32/nds32-linux.opt.urls
gcc/config/nds32/nds32.opt.urls
gcc/config/pru/pru.opt.urls
gcc/config/riscv/riscv.opt.urls
gcc/config/rx/rx.opt.urls
gcc/config/sh/sh.opt.urls
gcc/config/sparc/sparc.opt.urls
gcc/doc/invoke.texi

index 88f0bb0f96fa79cfedb4e359aa9f7f031725b1e1..9ed5d7b5596cb4828ca33d43ee85f72ec23f5c2e 100644 (file)
@@ -57,12 +57,17 @@ UrlSuffix(gcc/LoongArch-Options.html#index-mrecip)
 mrecip
 UrlSuffix(gcc/LoongArch-Options.html#index-mrecip)
 
-; skipping UrlSuffix for 'mcmodel=' due to finding no URLs
+mcmodel=
+UrlSuffix(gcc/LoongArch-Options.html#index-mcmodel)
 
 mdirect-extern-access
 UrlSuffix(gcc/LoongArch-Options.html#index-mdirect-extern-access)
 
-; skipping UrlSuffix for 'mrelax' due to finding no URLs
+mrelax
+UrlSuffix(gcc/LoongArch-Options.html#index-mrelax-2)
+
+mpass-mrelax-to-as
+UrlSuffix(gcc/LoongArch-Options.html#index-mpass-mrelax-to-as)
 
 mtls-dialect=
 UrlSuffix(gcc/LoongArch-Options.html#index-mtls-dialect-1)
index 396ca4aa2e6061550bf490af3827f87ee89fc995..d0d1cce53a0d7ad45e25761740365ff41ab1c118 100644 (file)
@@ -19,7 +19,7 @@ mno-crt0
 UrlSuffix(gcc/MN10300-Options.html#index-mno-crt0)
 
 mrelax
-UrlSuffix(gcc/MN10300-Options.html#index-mrelax-2)
+UrlSuffix(gcc/MN10300-Options.html#index-mrelax-3)
 
 mreturn-pointer-on-d0
 UrlSuffix(gcc/MN10300-Options.html#index-mreturn-pointer-on-d0)
index 420c1c50f13eb3f208f488e63846e35812110c4f..b8b8f9ce184a849e048aa00e73e28ad627b390c1 100644 (file)
@@ -28,7 +28,7 @@ msmall
 UrlSuffix(gcc/MSP430-Options.html#index-msmall)
 
 mrelax
-UrlSuffix(gcc/MSP430-Options.html#index-mrelax-3)
+UrlSuffix(gcc/MSP430-Options.html#index-mrelax-4)
 
 minrt
 UrlSuffix(gcc/MSP430-Options.html#index-minrt)
index 5399afba7d3d606b5c871c9d75ee4e60028529ba..3ae1efe7312062986c56acebb89cf1c0cd883ad7 100644 (file)
@@ -1,5 +1,5 @@
 ; Autogenerated by regenerate-opt-urls.py from gcc/config/nds32/nds32-elf.opt and generated HTML
 
 mcmodel=
-UrlSuffix(gcc/NDS32-Options.html#index-mcmodel)
+UrlSuffix(gcc/NDS32-Options.html#index-mcmodel-1)
 
index 27d39f04ad95e2e4a13cbf7ebd2b6b53a8347bd4..ac589ccd472a7d1688ab158879ab212a878bb467 100644 (file)
@@ -1,5 +1,5 @@
 ; Autogenerated by regenerate-opt-urls.py from gcc/config/nds32/nds32-linux.opt and generated HTML
 
 mcmodel=
-UrlSuffix(gcc/NDS32-Options.html#index-mcmodel)
+UrlSuffix(gcc/NDS32-Options.html#index-mcmodel-1)
 
index e34512d69ba9112b775e85b8a76d3c9faa38356d..44fa0696b956e42381db026231d67af3cc1f3638 100644 (file)
@@ -51,7 +51,7 @@ mctor-dtor
 UrlSuffix(gcc/NDS32-Options.html#index-mctor-dtor)
 
 mrelax
-UrlSuffix(gcc/NDS32-Options.html#index-mrelax-4)
+UrlSuffix(gcc/NDS32-Options.html#index-mrelax-5)
 
 ; skipping UrlSuffix for 'munaligned-access' due to finding no URLs
 
index 1f8a26a0db5f083ef43e6a8ac7e006a3e3aa9376..c87affb112b87374a44c977c96c597b60e63e809 100644 (file)
@@ -7,7 +7,7 @@ mmcu=
 UrlSuffix(gcc/PRU-Options.html#index-mmcu-2)
 
 mno-relax
-UrlSuffix(gcc/PRU-Options.html#index-mno-relax)
+UrlSuffix(gcc/PRU-Options.html#index-mno-relax-1)
 
 mloop
 UrlSuffix(gcc/PRU-Options.html#index-mloop)
index 351f7f0dda2712e3ff0ce9fecdca40d6aa4b4a47..2f01ae5d62718d6336fea065673c23e794e05433 100644 (file)
@@ -49,7 +49,7 @@ UrlSuffix(gcc/RISC-V-Options.html#index-mstrict-align-4)
 ; skipping UrlSuffix for 'mexplicit-relocs' due to finding no URLs
 
 mrelax
-UrlSuffix(gcc/RISC-V-Options.html#index-mrelax-5)
+UrlSuffix(gcc/RISC-V-Options.html#index-mrelax-6)
 
 mcsr-check
 UrlSuffix(gcc/RISC-V-Options.html#index-mcsr-check)
index 4cb037313b49a24867d81ef92b4107c883c4d40e..7af4bd249d82bf48c82013d3e4b4fcce174e4f38 100644 (file)
@@ -25,7 +25,7 @@ msmall-data-limit=
 UrlSuffix(gcc/RX-Options.html#index-msmall-data-limit-2)
 
 mrelax
-UrlSuffix(gcc/RX-Options.html#index-mrelax-6)
+UrlSuffix(gcc/RX-Options.html#index-mrelax-7)
 
 mmax-constant-size=
 UrlSuffix(gcc/RX-Options.html#index-mmax-constant-size)
index 2c3bc0699ec53eb63634414535a95755f919f032..b282bc2f5090f6f335ee28c2fd82f9831880fa81 100644 (file)
@@ -148,7 +148,7 @@ mprefergot
 UrlSuffix(gcc/SH-Options.html#index-mprefergot)
 
 mrelax
-UrlSuffix(gcc/SH-Options.html#index-mrelax-7)
+UrlSuffix(gcc/SH-Options.html#index-mrelax-8)
 
 mrenesas
 UrlSuffix(gcc/SH-Options.html#index-mrenesas)
index 79774678984f5d440c81bf4fe6ad6e08732a8586..5a3e9d771b0976c889c1895c31298d68b500bc91 100644 (file)
@@ -84,7 +84,7 @@ mtune=
 UrlSuffix(gcc/SPARC-Options.html#index-mtune-15)
 
 mcmodel=
-UrlSuffix(gcc/SPARC-Options.html#index-mcmodel-1)
+UrlSuffix(gcc/SPARC-Options.html#index-mcmodel-2)
 
 ; skipping UrlSuffix for 'mdebug=' due to finding no URLs
 
index e3285587e4e7c78216feee0e5c1501e0dd748c0f..7e517b8080eb77144a9d28a6eda3936029b360e3 100644 (file)
@@ -27011,6 +27011,7 @@ section (on some targets).  The default value is 0.
 Inline all block moves (such as calls to @code{memcpy} or structure copies)
 less than or equal to @var{n} bytes.  The default value of @var{n} is 1024.
 
+@opindex mcmodel
 @item -mcmodel=@var{code-model}
 Set the code model to one of:
 @table @samp
@@ -27073,6 +27074,8 @@ kernels, executables linked with @option{-static} or @option{-static-pie}.
 @option{-mdirect-extern-access} is not compatible with @option{-fPIC} or
 @option{-fpic}.
 
+@opindex mrelax
+@opindex mno-relax
 @item -mrelax
 @itemx -mno-relax
 Take (do not take) advantage of linker relaxations.  If
@@ -27085,6 +27088,8 @@ option and the conditional branch relaxation (it's required or the
 assembly code outputted by GCC may be rejected by the assembler because
 of a relocation overflow), @option{-mno-relax} otherwise.
 
+@opindex mpass-mrelax-to-as
+@opindex mno-pass-mrelax-to-as
 @item -mpass-mrelax-to-as
 @itemx -mno-pass-mrelax-to-as
 Pass (do not pass) the @option{-mrelax} or @option{-mno-relax} option
@@ -27201,7 +27206,7 @@ Use traditional TLS. This is the default.
 Use TLS descriptors.
 @end table
 
-@item loongarch-vect-unroll-limit
+@item --param loongarch-vect-unroll-limit=@var{n}
 The vectorizer will use available tuning information to determine whether it
 would be beneficial to unroll the main vectorized loop and by how much.  This
 parameter set's the upper bound of how much the vectorizer will unroll the main