diff options
author | Laurent Vivier | 2018-08-11 10:23:28 +0200 |
---|---|---|
committer | Laurent Vivier | 2018-08-20 00:11:06 +0200 |
commit | 5b38d0264064055255db991e29d938491f9e8a32 (patch) | |
tree | 17242346059d6ef5b3e7036c7170af57b05232cf /scripts | |
parent | linux-user: fix 32bit g2h()/h2g() (diff) | |
download | qemu-5b38d0264064055255db991e29d938491f9e8a32.tar.gz qemu-5b38d0264064055255db991e29d938491f9e8a32.tar.xz qemu-5b38d0264064055255db991e29d938491f9e8a32.zip |
sh4: fix use_icount with linux-user
This fixes java in a linux-user chroot:
$ java --version
qemu-sh4: .../accel/tcg/cpu-exec.c:634: cpu_loop_exec_tb: Assertion `use_icount' failed.
qemu: uncaught target signal 6 (Aborted) - core dumped
Aborted (core dumped)
In gen_conditional_jump() in the GUSA_EXCLUSIVE part, we must reset
base.is_jmp to DISAS_NEXT after the gen_goto_tb() as it is done in
gen_delayed_conditional_jump() after the gen_jump().
Bug: https://bugs.launchpad.net/qemu/+bug/1768246
Fixes: 4834871bc95b67343248100e2a75ae0d287bc08b
("target/sh4: Convert to DisasJumpType")
Reported-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Message-Id: <20180811082328.11268-1-laurent@vivier.eu>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions