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~
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~