RISCV: Support Zilsd and Zcmlsd extensions.
孙东亚
sundongya@nucleisys.com
Mon Jul 22 09:06:23 GMT 2024
This patch adds support for the Zilsd and Zcmlsd extension, Which is documented at https://github.com/riscv/riscv-zilsd/releases/tag/v0.9.0 .
Currently, the patch has been merged into https://github.com/nxp-auto-tools/binutils_zilsd by Edmar Wienskoski <edmar.wienskoski@NXP.com>.
bfd/ChangeLog:
* bfd/elfxx-riscv.c (riscv_parse_check_conflicts): “zcmlsd” conflict with the “c+f'/ zcf”extension.
(riscv_multi_subset_supports):Handle zilsd and zcmlsd.
(riscv_multi_subset_supports_ext): Handle zilsd and zcmlsd.
gas/ChangeLog:
*gas/ config/tc-riscv.c (validate_riscv_insn):Add new operand Gd,Gt for zilsd.ld, zilsd.sd.
(riscv_ip): Ditto.
include/ChangeLog:
* include/opcode/riscv.h (enum riscv_insn_class):Add INSN_CLASS_ZILSD and INSN_CLASS_ZCMLSD.
opcodes/ChangeLog:
* opcode/riscv-dis.c (print_insn_args): Print zilsd instruction information.
* opecode/riscv-opc.c: Add zilsd and zcmlsd instructions.
---
bfd/elfxx-riscv.c | 23 +++++++++++++++++++++--
gas/config/tc-riscv.c | 35 +++++++++++++++++++++++++++++++++++
include/opcode/riscv.h | 2 ++
opcodes/riscv-dis.c | 18 ++++++++++++++++++
opcodes/riscv-opc.c | 12 ++++++++++++
5 files changed, 88 insertions(+), 2 deletions(-)
Co-developed-by: SUN Dongya <sundongya@nucleisys.com>Co-developed-by: LIU Xu <liuxu@nucleisys.com>Co-developed-by: ZHAO Fujin <zhaofujin@nucleisys.com>Co-developed-by: Edmar Wienskoski <edmar.wienskoski@NXP.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://sourceware.org/pipermail/binutils/attachments/20240722/54a74c0e/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zilsd_zcmlsd.patch
Type: application/octet-stream
Size: 9074 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20240722/54a74c0e/attachment-0001.obj>
More information about the Binutils
mailing list