]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
RISC-V: Adding H to the canonical order [PR121312]
authorKito Cheng <kito.cheng@sifive.com>
Thu, 31 Jul 2025 03:02:45 +0000 (11:02 +0800)
committerKito Cheng <kito.cheng@sifive.com>
Thu, 31 Jul 2025 03:08:26 +0000 (11:08 +0800)
We added H into canonical order before, but forgot to add it to
arch-canonicalize as well...

gcc/ChangeLog:

PR target/121312
* config/riscv/arch-canonicalize: Add H extension to the
canonical order.

gcc/config/riscv/arch-canonicalize

index fd552551abae9140a32d8d190e5406fc3b63fc53..34dad45233ae57acfea261465ac446ad1e6e3de1 100755 (executable)
@@ -32,7 +32,7 @@ import itertools
 from functools import reduce
 
 SUPPORTED_ISA_SPEC = ["2.2", "20190608", "20191213"]
-CANONICAL_ORDER = "imafdgqlcbkjtpvn"
+CANONICAL_ORDER = "imafdqlcbkjtpvnh"
 LONG_EXT_PREFIXES = ['z', 's', 'h', 'x']
 
 #