Re: [Qemu-devel] [PATCH v9 07/26] target: [tcg, i386] Refactor init_disas_context

2017-06-26 Thread Lluís Vilanova
Richard Henderson writes: > On 06/25/2017 02:12 AM, Lluís Vilanova wrote: >> +DisasContext *dc = container_of(db, DisasContext, base); >> CPUX86State *env = cpu->env_ptr; >> -DisasContext dc1, *dc = &dc1; >> -DisasContextBase *db = &dc1.base; >> -uint32_t flags; >> -target_ulon

Re: [Qemu-devel] [PATCH v9 07/26] target: [tcg, i386] Refactor init_disas_context

2017-06-26 Thread Richard Henderson
On 06/25/2017 02:12 AM, Lluís Vilanova wrote: +DisasContext *dc = container_of(db, DisasContext, base); CPUX86State *env = cpu->env_ptr; -DisasContext dc1, *dc = &dc1; -DisasContextBase *db = &dc1.base; -uint32_t flags; -target_ulong cs_base; -int num_insns; -int

[Qemu-devel] [PATCH v9 07/26] target: [tcg, i386] Refactor init_disas_context

2017-06-25 Thread Lluís Vilanova
Incrementally paves the way towards using the generic instruction translation loop. Signed-off-by: Lluís Vilanova --- target/i386/translate.c | 43 --- 1 file changed, 24 insertions(+), 19 deletions(-) diff --git a/target/i386/translate.c b/target/i386/