]> git.proxmox.com Git - mirror_qemu.git/commit - target/sh4/translate.c
target/sh4: Consolidate end-of-TB tests
authorRichard Henderson <rth@twiddle.net>
Tue, 18 Jul 2017 20:02:27 +0000 (10:02 -1000)
committerAurelien Jarno <aurelien@aurel32.net>
Tue, 18 Jul 2017 21:39:15 +0000 (23:39 +0200)
commit4448a83606b5861cfa11528c0395868fc2b0e99e
tree65a9f2e990abe5c752dd57f08deb6dd617f71254
parent92f1f83e34f0454b98f3a7fc082636c38cafa115
target/sh4: Consolidate end-of-TB tests

We can fold 3 different tests within the decode loop
into a more accurate computation of max_insns to start.

Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Message-Id: <20170718200255.31647-3-rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target/sh4/translate.c