public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/3] RISC-V: Zfinx extension support
@ 2021-10-28 16:47 jiawei
  2021-10-28 16:47 ` [PATCH 1/3] RISC-V: Add mininal support for z[fdq]inx jiawei
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: jiawei @ 2021-10-28 16:47 UTC (permalink / raw)
  To: binutils
  Cc: tariq.kurd, kito.cheng, jimw, jeremy.bennett, cmuellner, palmer,
	andrew, lazyparser, jiawei

This patch is support zfinx extension on binutils, zfinx is not compatible with any float extension and use gpr replace fpr, we adjust the opreand set when zfinx used. For disassemble part, we add a flag ZFINX(0x10) as ELF-header to distinguish whether use gpr or fpr name for float instructions.

jiawei (3):
  RISC-V: Add mininal support for z[fdq]inx
  RISC-V: Add instructions and operand set for z[fdq]inx
  RISC-V: Add testcases and disassemble support for z[fdq]inx

 bfd/elfxx-riscv.c               |  32 +++++++
 binutils/readelf.c              |   3 +
 gas/config/tc-riscv.c           |  33 +++++++-
 gas/testsuite/gas/riscv/zdinx.d |  41 +++++++++
 gas/testsuite/gas/riscv/zdinx.s |  33 ++++++++
 gas/testsuite/gas/riscv/zfinx.d |  39 +++++++++
 gas/testsuite/gas/riscv/zfinx.s |  31 +++++++
 gas/testsuite/gas/riscv/zqinx.d |  43 ++++++++++
 gas/testsuite/gas/riscv/zqinx.s |  35 ++++++++
 include/elf/riscv.h             |   3 +
 include/opcode/riscv.h          |   3 +
 opcodes/riscv-dis.c             |   4 +
 opcodes/riscv-opc.c             | 146 ++++++++++++++++++++++++++++++++
 13 files changed, 443 insertions(+), 3 deletions(-)
 create mode 100644 gas/testsuite/gas/riscv/zdinx.d
 create mode 100644 gas/testsuite/gas/riscv/zdinx.s
 create mode 100644 gas/testsuite/gas/riscv/zfinx.d
 create mode 100644 gas/testsuite/gas/riscv/zfinx.s
 create mode 100644 gas/testsuite/gas/riscv/zqinx.d
 create mode 100644 gas/testsuite/gas/riscv/zqinx.s


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-11-09 10:06 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-28 16:47 [PATCH 0/3] RISC-V: Zfinx extension support jiawei
2021-10-28 16:47 ` [PATCH 1/3] RISC-V: Add mininal support for z[fdq]inx jiawei
2021-11-09  6:32   ` Nelson Chu
2021-10-28 16:47 ` [PATCH 2/3] RISC-V: Add instructions and operand set " jiawei
2021-11-09  9:51   ` Nelson Chu
2021-10-28 16:47 ` [PATCH 3/3] RISC-V: Add testcases and disassemble support " jiawei
2021-11-09 10:03   ` Nelson Chu
2021-11-09 10:06 ` [PATCH 0/3] RISC-V: Zfinx extension support Nelson Chu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).