Re: [PATCH v3 4/9] target/nios2: Add DisasContextBase to DisasContext

2021-06-29 Thread Peter Maydell
On Mon, 28 Jun 2021 at 23:14, Richard Henderson wrote: > > Migrate the is_jmp, tb and singlestep_enabled fields from > DisasContext into the base. Use pc_first instead of tb->pc. > Increment pc_next prior to decode, leaving the address of > the current insn in dc->pc. > > Signed-off-by: Richard H

[PATCH v3 4/9] target/nios2: Add DisasContextBase to DisasContext

2021-06-28 Thread Richard Henderson
Migrate the is_jmp, tb and singlestep_enabled fields from DisasContext into the base. Use pc_first instead of tb->pc. Increment pc_next prior to decode, leaving the address of the current insn in dc->pc. Signed-off-by: Richard Henderson --- target/nios2/translate.c | 70 +---