On 7/16/2026 9:19 PM, Wang Yaduo wrote:
The binutils has not supported zama16b.  Do not enable the extension
through -mcpu=xt-c9501fdvt.

gcc/ChangeLog:

        * config/riscv/riscv-cores.def (RISCV_CORE): Remove zama16b from
        xt-c9501fdvt.

gcc/testsuite/ChangeLog:

        * gcc.target/riscv/mcpu-xt-c9501fdvt.c: Expect __riscv_zama16b
        to be undefined.

Signed-off-by: Wang Yaduo <[email protected]>
Seems wise.  The binutils-2.47 release is a week or so away; they typically don't want new features this late in the process. There'll be a binutils-2.48 late this year or early next year (before gcc-17).  So we should make sure the bits get into binutils-2.48, then we can re-enable this feature in gcc in time for gcc-17.

We're in a similar position with one of the spacemit extensions in the isa string that isn't supported by gas/binutils.

Anyway, I'll push this to the trunk momentarily.  Thanks again.


Jeff

Reply via email to