qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] riscv: Modify minimum VLEN rule
@ 2025-09-23  9:07 Max Chou
  2025-09-23  9:07 ` [PATCH v2 1/2] target/riscv: rvv: Replace checking V by checking Zve32x Max Chou
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Max Chou @ 2025-09-23  9:07 UTC (permalink / raw)
  To: qemu-devel, qemu-riscv
  Cc: Palmer Dabbelt, Alistair Francis, Weiwei Li,
	Daniel Henrique Barboza, Liu Zhiwei, Max Chou

According to the RISC-V unprivileged specification, the VLEN should be greater
or equal to the ELEN. This patchset provides following modifications:

* Replace the checkings of standard V with the checkings of Zve32x
* Introduces a check rule for VLEN and ELEN
* Modifies the minimum VLEN based on the vector extensions

Extension     Minimum VLEN
V                      128
Zve64[d|f|x]            64
Zve32[f|x]              32

v1: 20250627132156.440214-1-max.chou@sifive.com
- Rebase to riscv-to-apply.next branch
- Add patch 1 to replace checking RVV by checking Zve32x

Max Chou (2):
  target/riscv: rvv: Replace checking V by checking Zve32x
  target/riscv: rvv: Modify minimum VLEN according to enabled vector
    extensions

 target/riscv/cpu.c            |  2 +-
 target/riscv/csr.c            |  3 ++-
 target/riscv/machine.c        |  3 ++-
 target/riscv/riscv-qmp-cmds.c |  2 +-
 target/riscv/tcg/tcg-cpu.c    | 21 ++++++++++++++++++---
 5 files changed, 24 insertions(+), 7 deletions(-)

-- 
2.43.0



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

end of thread, other threads:[~2025-10-08  9:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-23  9:07 [PATCH v2 0/2] riscv: Modify minimum VLEN rule Max Chou
2025-09-23  9:07 ` [PATCH v2 1/2] target/riscv: rvv: Replace checking V by checking Zve32x Max Chou
2025-09-29  0:58   ` Alistair Francis
2025-09-23  9:07 ` [PATCH v2 2/2] target/riscv: rvv: Modify minimum VLEN according to enabled vector extensions Max Chou
2025-09-29  0:59   ` Alistair Francis
2025-09-29  1:15 ` [PATCH v2 0/2] riscv: Modify minimum VLEN rule Alistair Francis
2025-10-04  7:44 ` Michael Tokarev
2025-10-08  7:13   ` Michael Tokarev
2025-10-08  9:49     ` Max Chou

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).