[PATCH] RISC-V: Add support for ssdbltrp and smdbltrp extension.
Jan Beulich
jbeulich@suse.com
Thu Nov 28 11:46:40 GMT 2024
On 28.11.2024 12:10, Dongyan Chen wrote:
> --- a/gas/NEWS
> +++ b/gas/NEWS
> @@ -320,6 +320,10 @@ Changes in 2.38:
>
> * Add support for the RISC-V svinval extension, version 1.0.
>
> +* Add support for the RISC-V ssdbltrp extension, version 1.0.
> +
> +* Add support for the RISC-V smdbltrp extension, version 1.0.
> +
> * Add support for the RISC-V hypervisor extension, as defined by Privileged
> Specification 1.12.
Please move up to near the top of the file - you're not retrofitting this
to 2.38, after all.
> @@ -1149,6 +1151,12 @@ riscv_csr_address (const char *csr_name,
> is_h_required = (csr_class == CSR_CLASS_SSTC_AND_H
> || csr_class == CSR_CLASS_SSTC_AND_H_32);
> extension = "sstc";
> + break;
> + case CSR_CLASS_SSDBLTRP:
> + extension = "ssdbltrp";
> + break;
> + case CSR_CLASS_SMDBLTRP:
> + extension = "smdbltrp";
> break;
The case labels are mis-indented here; see ...
> case CSR_CLASS_DEBUG:
> break;
... ones adjacent.
Jan
More information about the Binutils
mailing list