[PATCH] RISC-V: Support Svrsw60t59b extension.
Jiawei
jiawei@iscas.ac.cn
Tue Feb 3 02:37:26 GMT 2026
More information about the Binutils mailing list
Tue Feb 3 02:37:26 GMT 2026
- Previous message (by thread): [PATCH v5 03/12] BFD: Correct archive format determination for non-default link emulations
- Next message (by thread): [PATCH] RISC-V: Support Svrsw60t59b extension.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
This patch adds RISC-V Svrsw60t59b extension minimal support. https://github.com/riscv/riscv-isa-manual/blob/f30292bb486d735e186f06f705fcd7beff1e3e97/src/supervisor.adoc#L2550 bfd/ChangeLog: * elfxx-riscv.c: New ext. gas/ChangeLog: * NEWS: New ext. * testsuite/gas/riscv/march-help.l: Ditto. --- bfd/elfxx-riscv.c | 1 + gas/NEWS | 2 +- gas/testsuite/gas/riscv/march-help.l | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bfd/elfxx-riscv.c b/bfd/elfxx-riscv.c index ee962b4f6f1..a206dc73e4c 100644 --- a/bfd/elfxx-riscv.c +++ b/bfd/elfxx-riscv.c @@ -1595,6 +1595,7 @@ static const struct riscv_supported_ext riscv_supported_std_s_ext[] = {"svinval", ISA_SPEC_CLASS_DRAFT, 1, 0, 0 }, {"svnapot", ISA_SPEC_CLASS_DRAFT, 1, 0, 0 }, {"svpbmt", ISA_SPEC_CLASS_DRAFT, 1, 0, 0 }, + {"svrsw60t59b", ISA_SPEC_CLASS_DRAFT, 1, 0, 0 }, {"svvptc", ISA_SPEC_CLASS_DRAFT, 1, 0, 0 }, {"ssqosid", ISA_SPEC_CLASS_DRAFT, 1, 0, 0 }, {"ssnpm", ISA_SPEC_CLASS_DRAFT, 1, 0, 0 }, diff --git a/gas/NEWS b/gas/NEWS index e384d1135c0..4536e4b3e83 100644 --- a/gas/NEWS +++ b/gas/NEWS @@ -15,7 +15,7 @@ Changes in 2.46: * Solaris/PowerPC target support is removed. * Add support for RISC-V standard extensions: - sdtrig v1.0, ssstrict v1.0. + sdtrig v1.0, ssstrict v1.0, svrsw60t59b v1.0. * The assembler now supports generating SFrame Version 3 format. This version supports .text > 2 GiB, support for marking outermost frames, support for diff --git a/gas/testsuite/gas/riscv/march-help.l b/gas/testsuite/gas/riscv/march-help.l index 0ce2f896735..fd5dd889d35 100644 --- a/gas/testsuite/gas/riscv/march-help.l +++ b/gas/testsuite/gas/riscv/march-help.l @@ -147,6 +147,7 @@ All available -march extensions for RISC-V: svinval 1.0 svnapot 1.0 svpbmt 1.0 + svrsw60t59b 1.0 svvptc 1.0 ssqosid 1.0 ssnpm 1.0 -- 2.43.0
- Previous message (by thread): [PATCH v5 03/12] BFD: Correct archive format determination for non-default link emulations
- Next message (by thread): [PATCH] RISC-V: Support Svrsw60t59b extension.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list