Re: [PATCH] target/riscv: Align the AIA model to v1.0 ratified spec

2023-09-06 Thread Alistair Francis
On Wed, Aug 16, 2023 at 4:18 PM Tommy Wu wrote: > > According to the new spec, when vsiselect has a reserved value, attempts > from M-mode or HS-mode to access vsireg, or from VS-mode to access > sireg, should preferably raise an illegal instruction exception. > > Signed-off-by: Tommy Wu > Review

[PATCH] target/riscv: Align the AIA model to v1.0 ratified spec

2023-08-15 Thread Tommy Wu
According to the new spec, when vsiselect has a reserved value, attempts from M-mode or HS-mode to access vsireg, or from VS-mode to access sireg, should preferably raise an illegal instruction exception. Signed-off-by: Tommy Wu Reviewed-by: Frank Chang --- target/riscv/csr.c | 7 +-- 1 fil