From 98416dbb0a62579d4a7a4a76bab51b5b52fec2cd Mon Sep 17 00:00:00 2001 From: Jia-Wei Chen Date: Tue, 18 Jan 2022 10:34:24 +0800 Subject: [PATCH] RISC-V: Change default ISA version into 20191213 Bump default ISA spec to newer version 20191213, current default ISA spec is 2.2, but it's already out of date for a long time, sync with binutils ISA version, convention in toolchain use. gcc/ChangeLog: * config.gcc: Modify default isa_spec version. --- gcc/config.gcc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gcc/config.gcc b/gcc/config.gcc index 2c4266ce7b0..90aec3f8f3f 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -4641,12 +4641,12 @@ case "${target}" in esac case "${with_isa_spec}" in - ""|default|2.2) - tm_defines="${tm_defines} TARGET_DEFAULT_ISA_SPEC=ISA_SPEC_CLASS_2P2" - ;; - 20191213 | 201912) + ""|default|20191213|201912) tm_defines="${tm_defines} TARGET_DEFAULT_ISA_SPEC=ISA_SPEC_CLASS_20191213" ;; + 2.2) + tm_defines="${tm_defines} TARGET_DEFAULT_ISA_SPEC=ISA_SPEC_CLASS_2P2" + ;; 20190608 | 201906) tm_defines="${tm_defines} TARGET_DEFAULT_ISA_SPEC=ISA_SPEC_CLASS_20190608" ;;