[PATCH v2] RISC-V: Add zilsd & zclsd support
Nelson Chu
nelson@rivosinc.com
Fri May 16 01:58:27 GMT 2025
Committed after passing the elf32/64-elf/linux binutils test cases.
Thanks a lot for refactoring this
Nelson
On Fri, May 9, 2025 at 4:27 PM Kito Cheng <kito.cheng@gmail.com> wrote:
> This version is almost same as the version send by dysun, but add one
> more test case and tweak the testcase for march-help.l, also some
> order in riscv_supported_std_z_ext
>
> On Fri, May 9, 2025 at 4:24 PM Kito Cheng <kito.cheng@sifive.com> wrote:
> >
> > From: dysun <sundongya@nucleisys.com>
> >
> > Ref: https://github.com/riscv/riscv-zilsd/blob/main/zilsd.adoc
> >
> > Signed-off-by: dysun <sundongya@nucleisys.com>
> >
> > Co-developed-by: LIU Xu <liuxu@nucleisys.com>
> > Co-developed-by: ZHAO Fujin <zhaofujin@nucleisys.com>
> > ---
> > bfd/elfxx-riscv.c | 20 ++++++++
> > gas/testsuite/gas/riscv/l-s-macro-zilsd.d | 53 +++++++++++++++++++++
> > gas/testsuite/gas/riscv/l-s-macro.d | 2 +-
> > gas/testsuite/gas/riscv/l-s-macro.s | 2 +
> > gas/testsuite/gas/riscv/march-help.l | 2 +
> > gas/testsuite/gas/riscv/zilsd-zclsd-fail.d | 3 ++
> > gas/testsuite/gas/riscv/zilsd-zclsd-fail.l | 15 ++++++
> > gas/testsuite/gas/riscv/zilsd-zclsd-fail.s | 15 ++++++
> > gas/testsuite/gas/riscv/zilsd-zclsd.d | 29 ++++++++++++
> > gas/testsuite/gas/riscv/zilsd-zclsd.s | 20 ++++++++
> > include/opcode/riscv.h | 2 +
> > opcodes/riscv-opc.c | 54 ++++++++++++++++++++++
> > 12 files changed, 216 insertions(+), 1 deletion(-)
> > create mode 100644 gas/testsuite/gas/riscv/l-s-macro-zilsd.d
> > create mode 100644 gas/testsuite/gas/riscv/zilsd-zclsd-fail.d
> > create mode 100644 gas/testsuite/gas/riscv/zilsd-zclsd-fail.l
> > create mode 100644 gas/testsuite/gas/riscv/zilsd-zclsd-fail.s
> > create mode 100644 gas/testsuite/gas/riscv/zilsd-zclsd.d
> > create mode 100644 gas/testsuite/gas/riscv/zilsd-zclsd.s
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://sourceware.org/pipermail/binutils/attachments/20250516/72661412/attachment.htm>
More information about the Binutils
mailing list