Re: [PATCH 1/3] target/riscv: Set env->bins in gen_exception_illegal

2022-06-12 Thread Alistair Francis
On Sun, Jun 5, 2022 at 9:11 AM Richard Henderson wrote: > > While we set env->bins when unwinding for ILLEGAL_INST, > from e.g. csrrw, we weren't setting it for immediately > illegal instructions. > > Add a testcase for mtval via both exception paths. > > Resolves: https://gitlab.com/qemu-project/

[PATCH 1/3] target/riscv: Set env->bins in gen_exception_illegal

2022-06-04 Thread Richard Henderson
While we set env->bins when unwinding for ILLEGAL_INST, from e.g. csrrw, we weren't setting it for immediately illegal instructions. Add a testcase for mtval via both exception paths. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1060 Signed-off-by: Richard Henderson --- target/riscv/