[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
- [Qemu-devel] [PATCH v2 14/17] target/openrisc: convert to TranslatorOps, (continued)
[Qemu-devel] [PATCH v2 08/17] target/mips: use *ctx for DisasContext, Emilio G. Cota, 2018/04/06
[Qemu-devel] [PATCH v2 11/17] target/s390x: convert to DisasContextBase, Emilio G. Cota, 2018/04/06
[Qemu-devel] [PATCH v2 01/17] translator: merge max_insns into DisasContextBase, Emilio G. Cota, 2018/04/06
[Qemu-devel] [PATCH v2 09/17] target/mips: convert to TranslatorOps, Emilio G. Cota, 2018/04/06
[Qemu-devel] [PATCH v2 15/17] target/riscv: convert to DisasJumpType, Emilio G. Cota, 2018/04/06