All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] target/riscv: Support Zabha extension
@ 2024-05-23 12:40 LIU Zhiwei
  2024-05-23 12:40 ` [PATCH 1/6] target/riscv: Move gen_amo before implement Zabha LIU Zhiwei
                   ` (6 more replies)
  0 siblings, 7 replies; 17+ messages in thread
From: LIU Zhiwei @ 2024-05-23 12:40 UTC (permalink / raw)
  To: qemu-devel
  Cc: qemu-riscv, palmer, Alistair.Francis, dbarboza, bmeng.cn,
	liwei1518, zhiwei_liu

Zabha adds support AMO operations for byte and half word. If zacas has been implemented,
zabha also adds support amocas.b and amocas.h.

More details is on the specification here:
https://github.com/riscv/riscv-zabha

The implemenation of zabha follows the way of AMOs and zacas.

This patch set is based on these two patch set:
1. https://mail.gnu.org/archive/html/qemu-riscv/2024-05/msg00207.html
2. https://mail.gnu.org/archive/html/qemu-riscv/2024-05/msg00212.html


LIU Zhiwei (6):
  target/riscv: Move gen_amo before implement Zabha
  target/riscv: Add AMO instructions for Zabha
  target/riscv: Move gen_cmpxchg before adding amocas.[b|h]
  target/riscv: Add amocas.[b|h] for Zabha
  target/riscv: Enable zabha for max cpu
  disas/riscv: Support zabha disassemble

 disas/riscv.c                               |  60 ++++++++
 target/riscv/cpu.c                          |   2 +
 target/riscv/cpu_cfg.h                      |   1 +
 target/riscv/insn32.decode                  |  22 +++
 target/riscv/insn_trans/trans_rva.c.inc     |  21 ---
 target/riscv/insn_trans/trans_rvzabha.c.inc | 145 ++++++++++++++++++++
 target/riscv/insn_trans/trans_rvzacas.c.inc |  13 --
 target/riscv/translate.c                    |  36 +++++
 8 files changed, 266 insertions(+), 34 deletions(-)
 create mode 100644 target/riscv/insn_trans/trans_rvzabha.c.inc

-- 
2.25.1



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

end of thread, other threads:[~2024-06-04  3:19 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-23 12:40 [PATCH 0/6] target/riscv: Support Zabha extension LIU Zhiwei
2024-05-23 12:40 ` [PATCH 1/6] target/riscv: Move gen_amo before implement Zabha LIU Zhiwei
2024-06-04  2:25   ` Alistair Francis
2024-05-23 12:40 ` [PATCH 2/6] target/riscv: Add AMO instructions for Zabha LIU Zhiwei
2024-06-04  3:09   ` Alistair Francis
2024-05-23 12:40 ` [PATCH 3/6] target/riscv: Move gen_cmpxchg before adding amocas.[b|h] LIU Zhiwei
2024-06-04  3:15   ` Alistair Francis
2024-05-23 12:40 ` [PATCH 4/6] target/riscv: Add amocas.[b|h] for Zabha LIU Zhiwei
2024-06-04  3:17   ` Alistair Francis
2024-05-23 12:40 ` [PATCH 5/6] target/riscv: Enable zabha for max cpu LIU Zhiwei
2024-05-24 11:38   ` Daniel Henrique Barboza
2024-05-23 12:40 ` [PATCH 6/6] disas/riscv: Support zabha disassemble LIU Zhiwei
2024-06-04  3:18   ` Alistair Francis
2024-05-24 11:44 ` [PATCH 0/6] target/riscv: Support Zabha extension Daniel Henrique Barboza
2024-05-26  0:37   ` LIU Zhiwei
2024-05-26 17:16     ` Daniel Henrique Barboza
2024-05-27  1:52       ` LIU Zhiwei

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.