Continuing my work on PR122243, I found that there were several RISC-V options that were not documented at all, and that the autogenerated table of supported extensions had formatting issues as well as many entries missing documentation. Since I had to synthesize a lot of text for these patches, I'd like to get approval or corrections from an actual target maintainer before pushing them.
Also, a caveat: while I think all my changes to the .def files were confined to documentation strings and I was able to build GCC for a riscv64-unknown-elf target in order to regenerate riscv-ext.texi, I have no RISC-V test environment set up presently for regression testing so I did not do that. :-S I'll add a separate "make regenerate-opt-urls" commit once these are approved and ready to go. Also, PR112650 (documenting the RISC-V parameters) is still in my queue and not addressed by either of these patches. -Sandra Sandra Loosemore (2): doc, riscv: Clean up documentation of RISC-V options [PR122243] doc, riscv: Clean up RISC-V extensions documentation gcc/config/riscv/gen-riscv-ext-texi.cc | 10 +- gcc/config/riscv/riscv-ext-corev.def | 4 +- gcc/config/riscv/riscv-ext-mips.def | 2 +- gcc/config/riscv/riscv-ext-sifive.def | 10 +- gcc/config/riscv/riscv-ext-thead.def | 2 +- gcc/config/riscv/riscv-ext.def | 94 ++--- gcc/config/riscv/riscv.opt | 4 +- gcc/doc/invoke.texi | 189 ++++++---- gcc/doc/riscv-ext.texi | 476 ++++++++++++------------- 9 files changed, 428 insertions(+), 363 deletions(-) -- 2.39.5
