]> git.proxmox.com Git - mirror_qemu.git/commit - target/sh4/translate.c
target/sh4: fix BS_EXCP exit
authorAurelien Jarno <aurelien@aurel32.net>
Mon, 1 May 2017 21:20:43 +0000 (23:20 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Sat, 13 May 2017 09:18:22 +0000 (11:18 +0200)
commit632056651a038e85ea9b62f1ad63a98c929ee40f
tree80c9ba15366fc004ef04acff48891e0ca235aabf
parent0fc37a8b0cd79f532ef6b743c7f43496f7d2ce1e
target/sh4: fix BS_EXCP exit

In case of exception, there is no need to call tcg_gen_exit_tb as the
exception helper won't return.

Also fix a few cases where BS_BRANCH is called instead of BS_EXCP.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target/sh4/translate.c