qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH v3 0/3] Add Zvqdotq support
@ 2025-09-03 14:03 Max Chou
  2025-09-03 14:03 ` [RFC PATCH v3 1/3] target/riscv: Add Zvqdotq cfg property Max Chou
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Max Chou @ 2025-09-03 14:03 UTC (permalink / raw)
  To: qemu-devel, qemu-riscv
  Cc: Palmer Dabbelt, Alistair Francis, Weiwei Li,
	Daniel Henrique Barboza, Liu Zhiwei, richard.henderson, Max Chou

This patch series adds Zvqdotq support.

The isa spec of Zvqdotq extension is not ratified yet, so this patch series
is based on the latest draft of the spec (v0.0.2) and make the Zvqdotq
extension as an experimental extension.

The draft of the Zvqdotq isa spec:
https://github.com/riscv/riscv-dot-product

v3:
* Fix casting and simplify vs1/vs2 access (Thanks for Richard Henderson's
  suggestion)

v2:
* Remove unnecessary variable and mask (Thanks for Richard Henderson's
  suggestion)

Max Chou (3):
  target/riscv: Add Zvqdotq cfg property
  target/riscv: rvv: Add Zvqdotq support
  target/riscv: Expose Zvqdotq extension as a cpu property

 target/riscv/cpu.c                            |  2 +
 target/riscv/cpu_cfg_fields.h.inc             |  1 +
 target/riscv/helper.h                         | 10 +++
 target/riscv/insn32.decode                    |  9 +++
 target/riscv/insn_trans/trans_rvzvqdotq.c.inc | 61 +++++++++++++++++++
 target/riscv/tcg/tcg-cpu.c                    |  5 ++
 target/riscv/translate.c                      |  1 +
 target/riscv/vector_helper.c                  | 57 +++++++++++++++++
 8 files changed, 146 insertions(+)
 create mode 100644 target/riscv/insn_trans/trans_rvzvqdotq.c.inc

--
2.39.3



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

end of thread, other threads:[~2025-09-05  9:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-03 14:03 [RFC PATCH v3 0/3] Add Zvqdotq support Max Chou
2025-09-03 14:03 ` [RFC PATCH v3 1/3] target/riscv: Add Zvqdotq cfg property Max Chou
2025-09-04 10:14   ` Daniel Henrique Barboza
2025-09-05  9:02     ` Max Chou
2025-09-03 14:03 ` [RFC PATCH v3 2/3] target/riscv: rvv: Add Zvqdotq support Max Chou
2025-09-04  4:16   ` Richard Henderson
2025-09-03 14:03 ` [RFC PATCH v3 3/3] target/riscv: Expose Zvqdotq extension as a cpu property Max Chou
2025-09-04 10:14   ` Daniel Henrique Barboza

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 NNTP newsgroup(s).