aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface/utils.cc
diff options
context:
space:
mode:
authorJin Ma <jinma@linux.alibaba.com>2023-04-18 17:26:49 +0800
committerKito Cheng <kito.cheng@sifive.com>2023-04-18 18:13:04 +0800
commit4204ed2dc74390ab3689d1d6a53001761338baf6 (patch)
tree22ded9f6c83f48aaf400974adb50f630ca44839e /gcc/ada/gcc-interface/utils.cc
parent2349e69125335d4c8c5e43cf3643844519d154c3 (diff)
downloadgcc-4204ed2dc74390ab3689d1d6a53001761338baf6.zip
gcc-4204ed2dc74390ab3689d1d6a53001761338baf6.tar.gz
gcc-4204ed2dc74390ab3689d1d6a53001761338baf6.tar.bz2
RISC-V: Adjust the parsing order of extensions to be consistent with riscv-spec and binutils.
The current order of gcc and binutils parsing extensions is inconsistent. According to latest risc-v spec, the canonical order in which extension names must appear in the name string specified in Table 29.1 is different from before. In the latest table, non-standard extensions must be listed after all standard extensions. To keep consistent, we now change the parsing order. Related llvm patch links: https://reviews.llvm.org/D148315 gcc/ChangeLog: * common/config/riscv/riscv-common.cc (multi_letter_subset_rank): Swap the order of z-extensions and s-extensions. (riscv_subset_list::parse): Likewise. gcc/testsuite/ChangeLog: * gcc.target/riscv/arch-5.c: Likewise.
Diffstat (limited to 'gcc/ada/gcc-interface/utils.cc')
0 files changed, 0 insertions, 0 deletions