On Wed, Apr 11, 2018 at 09:27:57 +1000, Richard Henderson wrote:
> 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();

Thanks, fixed now.

                Emilio

Reply via email to