qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2 06/17] target/mips: convert to DisasJumpType


From: Emilio G. Cota
Subject: Re: [Qemu-devel] [PATCH v2 06/17] target/mips: convert to DisasJumpType
Date: Wed, 11 Apr 2018 12:30:16 -0400
User-agent: Mutt/1.5.24 (2015-08-30)

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

[Prev in Thread] Current Thread [Next in Thread]