This contains two related patch sets from Emilio Cota, both touching the translation loop for these 13 targets.
I promised Emilio that we'd get these merged early in this next development cycle to avoid conflicts. r~ The following changes since commit e5cd695266c5709308aa95b1baae499e4b5d4544: Merge remote-tracking branch 'remotes/cody/tags/block-pull-request' into staging (2018-05-08 17:05:58 +0100) are available in the Git repository at: https://github.com/rth7680/qemu.git tags/cota-target-pull-request for you to fetch changes up to 5b4f1d2db9fb0e24549054ee58c7a7d8f84ddd6e: target/riscv: convert to TranslatorOps (2018-05-09 10:12:21 -0700) ---------------------------------------------------------------- * Fix all next_page checks for overflow. * Convert six targets to the translator loop. ---------------------------------------------------------------- Emilio G. Cota (28): target/riscv: avoid integer overflow in next_page PC check target/cris: avoid integer overflow in next_page PC check target/lm32: avoid integer overflow in next_page PC check target/xtensa: avoid integer overflow in next_page PC check target/unicore32: avoid integer overflow in next_page PC check target/tilegx: avoid integer overflow in next_page PC check target/microblaze: avoid integer overflow in next_page PC check target/arm: avoid integer overflow in next_page PC check target/s390x: avoid integer overflow in next_page PC check target/mips: avoid integer overflow in next_page PC check translator: merge max_insns into DisasContextBase target/sh4: convert to TranslatorOps target/sparc: convert to DisasJumpType target/sparc: convert to DisasContextBase target/sparc: convert to TranslatorOps target/mips: use lookup_and_goto_ptr on BS_STOP target/mips: convert to DisasJumpType target/mips: convert to DisasContextBase target/mips: use *ctx for DisasContext target/mips: convert to TranslatorOps target/s390x: convert to DisasJumpType target/s390x: convert to DisasContextBase target/s390x: convert to TranslatorOps target/openrisc: convert to DisasContextBase target/openrisc: convert to TranslatorOps target/riscv: convert to DisasJumpType target/riscv: convert to DisasContextBase target/riscv: convert to TranslatorOps include/exec/translator.h | 8 +- target/arm/translate.h | 2 +- accel/tcg/translator.c | 21 +- target/alpha/translate.c | 6 +- target/arm/translate-a64.c | 8 +- target/arm/translate.c | 20 +- target/cris/translate.c | 6 +- target/hppa/translate.c | 7 +- target/i386/translate.c | 5 +- target/lm32/translate.c | 6 +- target/microblaze/translate.c | 6 +- target/mips/translate.c | 637 +++++++------- target/openrisc/translate.c | 226 +++-- target/ppc/translate.c | 5 +- target/riscv/translate.c | 255 +++--- target/s390x/translate.c | 1533 ++++++++++++++++----------------- target/sh4/translate.c | 169 ++-- target/sparc/translate.c | 207 +++-- target/tilegx/translate.c | 4 +- target/unicore32/translate.c | 6 +- target/xtensa/translate.c | 9 +- 21 files changed, 1554 insertions(+), 1592 deletions(-) -- 2.17.0
