Re: [PATCH v4 2/2] target/loongarch: Fix emulation of float-point disable exception

2022-11-04 Thread Richard Henderson
On 11/5/22 13:10, Rui Wang wrote: We need to emulate it to generate a floating point disable exception when CSR.EUEN.FPE is zero. Signed-off-by: Rui Wang --- target/loongarch/cpu.c| 2 ++ target/loongarch/cpu.h| 2 ++ .../loongarch/insn_trans

[PATCH v4 2/2] target/loongarch: Fix emulation of float-point disable exception

2022-11-04 Thread Rui Wang
We need to emulate it to generate a floating point disable exception when CSR.EUEN.FPE is zero. Signed-off-by: Rui Wang --- target/loongarch/cpu.c| 2 ++ target/loongarch/cpu.h| 2 ++ .../loongarch/insn_trans/trans_farith.c.inc | 30 +++