Re: [Qemu-devel] [PATCH v2 04/17] target/sparc: convert to DisasContextBase

2018-04-09 Thread Richard Henderson
On 04/07/2018 04:19 AM, Emilio G. Cota wrote: > Notes: > > - pc and npc are left unmodified, since they can point to out-of-TB > jump targets. > > - Got rid of last_pc in gen_intermediate_code(), using base.pc_next > instead. Only update pc_next (1) on a breakpoint (so that tb->size >

[Qemu-devel] [PATCH v2 04/17] target/sparc: convert to DisasContextBase

2018-04-06 Thread Emilio G. Cota
Notes: - pc and npc are left unmodified, since they can point to out-of-TB jump targets. - Got rid of last_pc in gen_intermediate_code(), using base.pc_next instead. Only update pc_next (1) on a breakpoint (so that tb->size includes the insn), and (2) after reading the current instruction