Re: [Qemu-devel] [PATCH] target/sh4: Fix translator.c assertion failure for gUSA

2018-06-04 Thread Alex Bennée
Richard Henderson writes: > The translator loop does not allow the tb_start hook to set > dc->base.is_jmp; the only hook allowed to do that is translate_insn. > > Split the work between init_disas_context where we validate > the gUSA parameters, and translate_insn where we emit code. > >

[Qemu-devel] [PATCH] target/sh4: Fix translator.c assertion failure for gUSA

2018-06-01 Thread Richard Henderson
The translator loop does not allow the tb_start hook to set dc->base.is_jmp; the only hook allowed to do that is translate_insn. Split the work between init_disas_context where we validate the gUSA parameters, and translate_insn where we emit code. Signed-off-by: Richard Henderson --- This