Re: [Qemu-devel] [PATCH 3/3] target/sparc: convert to TranslatorOps

2018-02-18 Thread Richard Henderson
On 02/15/2018 03:17 PM, Emilio G. Cota wrote: > +(dc->pc - dc->base.pc_first) >= (TARGET_PAGE_SIZE - 32)) { What is this, and why is it not a bug to be fixed via elimination? Surely this condition is covered by the normal max_insns test. r~

[Qemu-devel] [PATCH 3/3] target/sparc: convert to TranslatorOps

2018-02-15 Thread Emilio G. Cota
Notes: - Moved the cross-page check from the end of translate_insn to init_disas_context. Signed-off-by: Emilio G. Cota --- target/sparc/translate.c | 181 +++ 1 file changed, 88 insertions(+), 93 deletions(-) diff --git a/target/sparc/translate.c