]> git.proxmox.com Git - mirror_qemu.git/commit
tcg: Allow goto_tb to any target PC in user mode
authorSergey Fedorov <serge.fdrv@gmail.com>
Fri, 8 Apr 2016 22:00:23 +0000 (01:00 +0300)
committerRichard Henderson <rth@twiddle.net>
Fri, 13 May 2016 00:06:42 +0000 (14:06 -1000)
commit90aa39a1cc4837360889f0e033ca25cc82100308
treeb8f857f456fec4ecd5b5931f41c7b17b52a353eb
parent5b053a4a28278bca606eeff7d1c0730df1b047e9
tcg: Allow goto_tb to any target PC in user mode

In user mode, there's only a static address translation, TBs are always
invalidated properly and direct jumps are reset when mapping change.
Thus the destination address is always valid for direct jumps and
there's no need to restrict it to the pages the TB resides in.

Signed-off-by: Sergey Fedorov <serge.fdrv@gmail.com>
Signed-off-by: Sergey Fedorov <sergey.fedorov@linaro.org>
Cc: Riku Voipio <riku.voipio@iki.fi>
Cc: Blue Swirl <blauwirbel@gmail.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
19 files changed:
target-alpha/translate.c
target-arm/translate-a64.c
target-arm/translate.c
target-cris/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-openrisc/translate.c
target-ppc/translate.c
target-s390x/translate.c
target-sh4/translate.c
target-sparc/translate.c
target-tricore/translate.c
target-unicore32/translate.c
target-xtensa/translate.c
tcg/tcg-op.h