On 4/16/19 3:31 AM, Richard Henderson wrote: > If a TB generates too much code, try again with fewer insns. > > Fixes: https://bugs.launchpad.net/bugs/1824853 > Signed-off-by: Richard Henderson <richard.hender...@linaro.org> > --- > accel/tcg/translate-all.c | 39 +++++++++++++++++++++++++++++++++------ > tcg/tcg.c | 4 ++++ > 2 files changed, 37 insertions(+), 6 deletions(-) >
> + * Try again with half as many insns as we attempted this time. > + * If a single insn overflows, there's a bug somewhere... > + */ > + max_insns = tb->icount; > +qemu_log("TB overflow: pc=%lx insns=%d\n", (unsigned long)pc, max_insns); Leftover debugging? Or should it be kept but properly indented? -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature