[PATCH] RISC-V: Add Smrnmi extension csrs support.

Jan Beulich jbeulich@suse.com
Mon Sep 23 06:28:23 GMT 2024


On 20.09.2024 13:22, Jiawei wrote:
> bfd/ChangeLog:
> 
> 	* elfxx-riscv.c: New extension.
> 
> gas/ChangeLog:
> 
> 	* NEWS: Add Smrnmi extension support.
> 	* config/tc-riscv.c (enum riscv_csr_class): New extension class.
> 	(riscv_csr_address): Ditto.
> 	* testsuite/gas/riscv/csr-version-1p10.d: New csrs.
> 	* testsuite/gas/riscv/csr-version-1p10.l: Ditto.
> 	* testsuite/gas/riscv/csr-version-1p11.d: Ditto.
> 	* testsuite/gas/riscv/csr-version-1p11.l: Ditto.
> 	* testsuite/gas/riscv/csr-version-1p12.d: Ditto.
> 	* testsuite/gas/riscv/csr-version-1p12.l: Ditto.
> 	* testsuite/gas/riscv/csr.s:  Ditto.
> 	* testsuite/gas/riscv/march-help.l: New extension.
> 
> include/ChangeLog:
> 
> 	* opcode/riscv-opc.h (CSR_MNSCRATCH): New csr.
> 	(CSR_MNEPC): Ditto.
> 	(CSR_MNCAUSE): Ditto.
> 	(CSR_MNSTATUS): Ditto.
> 	(DECLARE_CSR): New csr declarations.

As for any new extension that has support added, a reference to the spec
and status information would be nice to have here (if already there's no
real description of the change).

Jan


More information about the Binutils mailing list