From: Paul-Antoine Arras <[email protected]>
The comment already had it right. Just update the string.
gcc/ChangeLog:
* config/riscv/riscv-profiles.def (RISCV_PROFILE): Add the zihpm
extension to the rva22u64 profile.
---
Reported-by: Trevor Gamblin <[email protected]>
This is a forge pull request published on the gcc-patches mailing list mailing
list
as requested by Paul-Antoine Arras via Sourceware Forge
<[email protected]>.
Forge discussion: https://forge.sourceware.org/gcc/gcc/pulls/283
Get it locally using:
```
git fetch forge-upstream "+refs/versioned_pull/283/*:refs/versioned_pull/283/*"
git switch -c "pr-283-v1" "refs/versioned_pull/283/1/head"
```
Or, download the patch at: https://forge.sourceware.org/gcc/gcc/pulls/283.diff
Created on: 2026-11-18 16:04:43+00:00
Latest update: 2026-11-18 16:09:54+00:00
Changes: 1 changed files, 1 additions, 1 deletions
Head revision: parras/gcc ref zihpm-rva22u64 commit
4cd01406608713458223c481a1720df6a68239ef
Base revision: gcc/gcc ref trunk commit
f73429deb0e316b0369660b816d1dbbb0e5e7121 r17-6418-gf73429deb0e316
Merge base: f73429deb0e316b0369660b816d1dbbb0e5e7121
Requested Reviewers:
Changed files:
- M: gcc/config/riscv/riscv-profiles.def
gcc/config/riscv/riscv-profiles.def | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/config/riscv/riscv-profiles.def
b/gcc/config/riscv/riscv-profiles.def
index 7cd2317fb9393..5282d053846e0 100644
--- a/gcc/config/riscv/riscv-profiles.def
+++ b/gcc/config/riscv/riscv-profiles.def
@@ -42,7 +42,7 @@ RISCV_PROFILE("rva20u64",
"rv64imafdc_zicsr_zicntr_ziccif_ziccrse_ziccamoa"
/* RVA22U contains the 'i,m,a,f,d,c,zicsr,zihintpause,zba,zbb,zbs,zicntr,
zihpm,ziccif,ziccrse,ziccamoa, zicclsm,zic64b,za64rs,zicbom,zicbop,zicboz,
zfhmin,zkt' as mandatory extensions. */
-RISCV_PROFILE("rva22u64", "rv64imafdc_zicsr_zicntr_ziccif_ziccrse_ziccamoa"
+RISCV_PROFILE("rva22u64",
"rv64imafdc_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa"
"_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop"
"_zicboz_zfhmin_zkt")
--
2.56.0