Re: [PATCH v3 6/9] target/nios2: Remove assignment to env in handle_instruction

2021-06-29 Thread Peter Maydell
On Mon, 28 Jun 2021 at 23:12, Richard Henderson wrote: > > Direct assignments to env during translation do not work. > > As it happens, the only way we can get here is if env->pc > is already set to dc->pc. We will trap on the first insn > we execute anywhere on the page. > > Signed-off-by: Richa

[PATCH v3 6/9] target/nios2: Remove assignment to env in handle_instruction

2021-06-28 Thread Richard Henderson
Direct assignments to env during translation do not work. As it happens, the only way we can get here is if env->pc is already set to dc->pc. We will trap on the first insn we execute anywhere on the page. Signed-off-by: Richard Henderson --- target/nios2/translate.c | 3 ++- 1 file changed, 2