On Sun, Jun 5, 2022 at 9:13 AM Richard Henderson
wrote:
>
> The function doesn't set mtval, it sets badaddr. Move the set
> of badaddr directly into gen_exception_inst_addr_mis and use
> generate_exception.
>
> Signed-off-by: Richard Henderson
Reviewed-by: Alistair Francis
Alistair
> ---
> t
The function doesn't set mtval, it sets badaddr. Move the set
of badaddr directly into gen_exception_inst_addr_mis and use
generate_exception.
Signed-off-by: Richard Henderson
---
target/riscv/translate.c | 11 ++-
1 file changed, 2 insertions(+), 9 deletions(-)
diff --git a/target/risc