Supports RISC-V profiles[1] in -march option, add minimal extension name supports.
Default input set the profile is before other formal extensions. Test with -march=RV[I/M/A]2[0/2][U/M/S][64/32]+otherextensions. [1]https://github.com/riscv/riscv-profiles/blob/main/profiles.adoc jiawei (2): RISC-V: Add minimal supports for new extension in profile. RISC-V: Add profile supports. gcc/common/config/riscv/riscv-common.cc | 115 ++++++++++++++++++++++-- gcc/config/riscv/riscv-opts.h | 15 ++++ gcc/config/riscv/riscv-subset.h | 5 +- 3 files changed, 129 insertions(+), 6 deletions(-) -- 2.25.1