Re: [PATCH v5 2/3] target/riscv: Reuse tb->flags.FS

2023-05-25 Thread Alistair Francis
On Fri, May 19, 2023 at 3:51 AM Mayuresh Chitale wrote: > > When misa.F is 0 tb->flags.FS field is unused and can be used to save > the current state of smstateen0.FCSR check which is needed by the > floating point translation routines. > > Signed-off-by: Mayuresh Chitale > Reviewed-by: Richard H

[PATCH v5 2/3] target/riscv: Reuse tb->flags.FS

2023-05-18 Thread Mayuresh Chitale
When misa.F is 0 tb->flags.FS field is unused and can be used to save the current state of smstateen0.FCSR check which is needed by the floating point translation routines. Signed-off-by: Mayuresh Chitale Reviewed-by: Richard Henderson Reviewed-by: Weiwei Li --- target/riscv/cpu_helper.c