[gcc(refs/vendors/riscv/heads/gcc-15-with-riscv-opts)] RISC-V: Adding H to the canonical order [PR121312]
Jeff Law
law@gcc.gnu.org
Sat Sep 6 14:55:58 GMT 2025
https://gcc.gnu.org/g:909ab3c37460676e882a9f57e5e97ba27e5737df
commit 909ab3c37460676e882a9f57e5e97ba27e5737df
Author: Kito Cheng <kito.cheng@sifive.com>
Date: Thu Jul 31 11:02:45 2025 +0800
RISC-V: Adding H to the canonical order [PR121312]
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.
(cherry picked from commit da88f9bd9e30eb743132734d71c62ebb9c42b11e)
Diff:
---
gcc/config/riscv/arch-canonicalize | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/config/riscv/arch-canonicalize b/gcc/config/riscv/arch-canonicalize
index fd552551abae..34dad45233ae 100755
--- a/gcc/config/riscv/arch-canonicalize
+++ b/gcc/config/riscv/arch-canonicalize
@@ -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']
#
More information about the Gcc-cvs
mailing list