|
| From: | Richard Henderson |
| Subject: | Re: [Qemu-devel] [PATCH v2 06/17] target/mips: convert to DisasJumpType |
| Date: | Wed, 11 Apr 2018 09:27:57 +1000 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
On 04/11/2018 12:23 AM, Emilio G. Cota wrote:
> case DISAS_STOP:
> - gen_goto_tb(&ctx, 0, ctx.pc);
> + tcg_gen_lookup_and_goto_ptr();
You need to write ctx.pc back to the pc first, e.g.
gen_save_pc(ctx.pc);
tcg_gen_lookup_and_goto_ptr();
r~
| [Prev in Thread] | Current Thread | [Next in Thread] |