target/arm: use gen_goto_tb for ISB handling
commit0b609cc128ba5ef16cc841bcade898d1898f1dc3
authorAlex Bennée <alex.bennee@linaro.org>
Mon, 17 Jul 2017 12:36:07 +0000 (17 13:36 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 17 Jul 2017 12:36:07 +0000 (17 13:36 +0100)
treecea689c609d52e93ab86859677bfd250e07e054f
parent4cae8f56fbab2798586576a56cc669f0127d04fb
target/arm: use gen_goto_tb for ISB handling

While an ISB will ensure any raised IRQs happen on the next
instruction it doesn't cause any to get raised by itself. We can
therefore use a simple tb exit for ISB instructions and rely on the
exit_request check at the top of each TB to deal with exiting if
needed.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Message-id: 20170713141928.25419-6-alex.bennee@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/translate-a64.c
target/arm/translate.c