Skip to content

riscv: Modify minimum VLEN rule

Max Chou qemu-devel qemu-riscv 1 version Applied

Status from this message: Applied to riscv-to-apply.next

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 6 repliesApplied

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2target/riscv: rvv: Replace checking V by checking Zve32xtarget/riscv/cpu.c target/riscv/csr.c target/riscv/machine.c +2 more+7 -51 reply
2/2target/riscv: rvv: Modify minimum VLEN according to enabled vector extensionstarget/riscv/tcg/tcg-cpu.c+17 -21 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchAlistair Francis
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] riscv: Modify minimum VLEN rule

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: [email protected]
- 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(-)
Signature · 1 line
2.43.0