]> git.proxmox.com Git - mirror_qemu.git/commit - target/cris/translate.c
tcg: Hoist max_insns computation to tb_gen_code
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 16 Apr 2019 06:54:54 +0000 (20:54 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 24 Apr 2019 20:04:33 +0000 (13:04 -0700)
commit8b86d6d25807e13a63ab6ea879f976b9f18cc45a
treef29fd7599e756b459c2fca9af822a6c151fe4ea5
parent464c2969d5d7a0a5d38d2aa5d930986df876d3fb
tcg: Hoist max_insns computation to tb_gen_code

In order to handle TB's that translate to too much code, we
need to place the control of the length of the translation
in the hands of the code gen master loop.

Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
25 files changed:
accel/tcg/translate-all.c
accel/tcg/translator.c
include/exec/exec-all.h
include/exec/translator.h
target/alpha/translate.c
target/arm/translate.c
target/cris/translate.c
target/hppa/translate.c
target/i386/translate.c
target/lm32/translate.c
target/m68k/translate.c
target/microblaze/translate.c
target/mips/translate.c
target/moxie/translate.c
target/nios2/translate.c
target/openrisc/translate.c
target/ppc/translate.c
target/riscv/translate.c
target/s390x/translate.c
target/sh4/translate.c
target/sparc/translate.c
target/tilegx/translate.c
target/tricore/translate.c
target/unicore32/translate.c
target/xtensa/translate.c