https://gcc.gnu.org/g:3c40c25332c56cc0064a5a848d177ccd1ab44912

commit r17-6452-g3c40c25332c56cc0064a5a848d177ccd1ab44912
Author: Paul-Antoine Arras <[email protected]>
Date:   Wed Nov 18 15:50:44 2026 +0000

    RISC-V: Add the zihpm extension to the rva22u64 profile
    
    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.

Diff:
---
 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 7cd2317fb939..5282d053846e 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")

Reply via email to