aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorKito Cheng <kito.cheng@sifive.com>2020-08-03 14:01:39 +0800
committerKito Cheng <kito.cheng@sifive.com>2020-11-18 14:02:49 +0800
commit6a5bb4705fb75fd3afdde938193c59938cc7bfde (patch)
tree16a017e5d6bfd53ea6af2b166ab78dec9d6904ff /gcc/config.gcc
parentd87ee7f1c9cd2ffa6302cdfd0686d72e5bb7463b (diff)
downloadgcc-6a5bb4705fb75fd3afdde938193c59938cc7bfde.zip
gcc-6a5bb4705fb75fd3afdde938193c59938cc7bfde.tar.gz
gcc-6a5bb4705fb75fd3afdde938193c59938cc7bfde.tar.bz2
RISC-V: Handle implied extension in canonical ordering.
- ISA spec has specify the order between multi-letter extensions, implied extension also need to follow store in canonical ordering, so most easy way is we keep that in-order during insertion. gcc/ChangeLog: * common/config/riscv/riscv-common.c (single_letter_subset_rank): New. (multi_letter_subset_rank): Ditto. (subset_cmp): Ditto. (riscv_subset_list::add): Insert subext in canonical ordering. (riscv_subset_list::parse_std_ext): Move handle_implied_ext to ... (riscv_subset_list::parse): ... here.
Diffstat (limited to 'gcc/config.gcc')
0 files changed, 0 insertions, 0 deletions