Re: [PATCH v6 03/25] target/riscv: Encode the FS and VS on a normal way for tb flags

2023-04-10 Thread Alistair Francis
On Sat, Mar 25, 2023 at 10:01 PM Richard Henderson wrote: > > From: LIU Zhiwei > > Reuse the MSTATUS_FS and MSTATUS_VS for the tb flags positions is not a > normal way. > > It will make it hard to change the tb flags layout. And even worse, if we > want to keep tb flags for a same extension

[PATCH v6 03/25] target/riscv: Encode the FS and VS on a normal way for tb flags

2023-03-25 Thread Richard Henderson
From: LIU Zhiwei Reuse the MSTATUS_FS and MSTATUS_VS for the tb flags positions is not a normal way. It will make it hard to change the tb flags layout. And even worse, if we want to keep tb flags for a same extension togather without a hole. Reviewed-by: Richard Henderson Signed-off-by: LIU