]> git.feebdaed.xyz Git - 0xmirror/gcc.git/commit
doc, riscv: Clean up RISC-V extensions documentation
authorSandra Loosemore <sloosemore@baylibre.com>
Sun, 21 Dec 2025 02:23:43 +0000 (02:23 +0000)
committerSandra Loosemore <sloosemore@baylibre.com>
Fri, 26 Dec 2025 04:41:21 +0000 (04:41 +0000)
commit7bf897e7c4fabcade9dcdb80a23c2a0dc92cc063
tree02f028772669435404df75b58d4489b4762ba5ad
parent2bd7beba81dd3849041851b6265d51e7cbd44bba
doc, riscv: Clean up RISC-V extensions documentation

This patch fixes a number of problems I observed in the RISC-V
extensions documentation, which is autogenerated from .def files:

- The formatting of the table looked terrible in the PDF output, with
overlapping text.  I made the first two columns wider to fix this.

- Also the extension names in the table should have @samp{} markup.

- Many extensions were missing a full name/description.  (Documenting
something as "xyzzy extension" adds nothing useful to readers when we
are already listing the extension name "xyzzy" in the table.)

- Irregular spelling and capitalization in the full names.

gcc/ChangeLog
* config/riscv/gen-riscv-ext-texi.cc: Fix table markup and
layout.
* config/riscv/riscv-ext-corev.def: Document missing extensions,
regularize spelling/capitalization in existing descriptions
* config/riscv/riscv-ext-mips.def: Likewise.
* config/riscv/riscv-ext-sifive.def: Likewise.
* config/riscv/riscv-ext-thead.def: Likewise.
* config/riscv/riscv-ext.def: Likewise.
* doc/riscv-ext.texi: Regenerated.
gcc/config/riscv/gen-riscv-ext-texi.cc
gcc/config/riscv/riscv-ext-corev.def
gcc/config/riscv/riscv-ext-mips.def
gcc/config/riscv/riscv-ext-sifive.def
gcc/config/riscv/riscv-ext-thead.def
gcc/config/riscv/riscv-ext.def
gcc/doc/riscv-ext.texi