RISC-V: Change default ISA version into 20191213
authorJia-Wei Chen <jiawei@iscas.ac.cn>
Tue, 18 Jan 2022 02:34:24 +0000 (10:34 +0800)
committerKito Cheng <kito.cheng@sifive.com>
Mon, 24 Jan 2022 09:42:21 +0000 (17:42 +0800)
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

index 2c4266c..90aec3f 100644 (file)
@@ -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"
                        ;;