Re: [PATCH v9 3/4] target/riscv: smstateen check for fcsr

2022-10-01 Thread mchitale
On Thu, 2022-09-29 at 09:09 +0800, weiwei wrote: > On 2022/9/19 14:29, Mayuresh Chitale wrote: > > If smstateen is implemented and sstateen0.fcsr is clear then the > > floating point > > operations must return illegal instruction exception or virtual > > instruction > > trap, if relevant. > > > >

Re: [PATCH v9 3/4] target/riscv: smstateen check for fcsr

2022-09-28 Thread weiwei
On 2022/9/19 14:29, Mayuresh Chitale wrote: If smstateen is implemented and sstateen0.fcsr is clear then the floating point operations must return illegal instruction exception or virtual instruction trap, if relevant. Signed-off-by: Mayuresh Chitale --- target/riscv/csr.c