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

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

Perf impact: see next commit's log.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Emilio G. Cota <cota@braap.org>
Message-Id: <1493263764-18657-7-git-send-email-cota@braap.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
target/arm/translate.c