https://gcc.gnu.org/g:88f95ebe13064c5745d2571bf19b09ba641bf6fe

commit r17-6543-g88f95ebe13064c5745d2571bf19b09ba641bf6fe
Author: Jeff Law <[email protected]>
Date:   Fri Nov 20 21:33:40 2026 -0700

    [RISC-V] Drop duplicated Zihpm extension from spacemit-x60 core definition
    
    Of course what should have been a trivially correct patch tripped a build 
time
    failure.
    
    Essentially a missing extension was added to the rva22 profile.  That caused
    the extension to be duplicated for the K1 design since it builds on the 
rva22
    profile and explicitly added Zihpm.  The duplication showed up when
    bootstrapping on the K1 in my tester.
    
    The fix is trivial, remove the duplicate.  The K1 build has finished
    bootstrapping and is now into testing phase, so we should be back in 
business.
    
    Given it was a bootstrap failure and flagged during the build itself, 
there's
    no need for a new testcase here.  Pushing to the trunk.
    
    gcc/
            * config/riscv/riscv-cores.def (spacemit-x60): Drop Zihmp that is 
now
            a duplicate.

Diff:
---
 gcc/config/riscv/riscv-cores.def | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/riscv/riscv-cores.def b/gcc/config/riscv/riscv-cores.def
index f330c790de7d..85c88a738c68 100644
--- a/gcc/config/riscv/riscv-cores.def
+++ b/gcc/config/riscv/riscv-cores.def
@@ -389,7 +389,7 @@ RISCV_CORE("andes-ax45",      
"rv64imafdc_zicsr_zifencei_xandesperf",
                              /* MARCHID */ UNKNOWN_ID,
                              /* MIMPID */ UNKNOWN_ID)
 
-RISCV_CORE("spacemit-x60",    
"rva22u64_v_zicond_zifencei_zihintntl_zihpm_zfh_zbc_"
+RISCV_CORE("spacemit-x60",    "rva22u64_v_zicond_zifencei_zihintntl_zfh_zbc_"
                              
"zbkc_zvfh_zvfhmin_zvkt_zvl256b_smepmp_sscofpmf_sstc_"
                              "svinval_svnapot_svpbmt_xsmtvdot",
                              "spacemit-x60",

Reply via email to