target/i386: optimize cross-page direct jumps in softmmu
commitfe62089563ffc6a42f16ff28a6b6be34d2697766
authorEmilio G. Cota <cota@braap.org>
Thu, 27 Apr 2017 03:29:22 +0000 (26 23:29 -0400)
committerRichard Henderson <rth@twiddle.net>
Mon, 5 Jun 2017 16:25:42 +0000 (5 09:25 -0700)
tree711b363b2a6223a16b4865603c4221e202470899
parent1ebb1af1b8068fca36f48f738eb7146ecdf03625
target/i386: optimize cross-page direct jumps in softmmu

Instead of unconditionally exiting to the exec loop, use the
gen_jr helper to jump to the target if it is valid.

Perf impact: see next commit's log.

Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Emilio G. Cota <cota@braap.org>
Message-Id: <1493263764-18657-10-git-send-email-cota@braap.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
target/i386/translate.c