]> git.ipfire.org Git - thirdparty/gcc.git/commit
RISC-V: Drop riscv_ext_version_table in favor of riscv_ext_info_t data
authorKito Cheng <kito.cheng@sifive.com>
Thu, 8 May 2025 08:23:29 +0000 (16:23 +0800)
committerKito Cheng <kito.cheng@sifive.com>
Tue, 13 May 2025 03:57:37 +0000 (11:57 +0800)
commit897bb6d4347469e378aad9e00fc4b5c6fcb1e9ce
treec02564ef87c7e227acfbdf7947442658f3f83318
parent8aa02f1729b0b8d39d3a93c3e0f36139f80ec0cd
RISC-V: Drop riscv_ext_version_table in favor of riscv_ext_info_t data

This commit drops the riscv_ext_version_table and instead uses the
riscv_ext_info_t data structure to provide the version information
for RISC-V extensions.

gcc/ChangeLog:

* common/config/riscv/riscv-common.cc (riscv_ext_version_table):
Remove.
(standard_extensions_p): Use riscv_ext_info_t.
(get_default_version): Use riscv_ext_info_t.
(riscv_arch_help): Ditto.
gcc/common/config/riscv/riscv-common.cc