target/arm: [a64] Move page and ss checks to init_disas_context
commitdcc3a21209a8eeae0fe43966012f8e08d3566f98
authorRichard Henderson <rth@twiddle.net>
Fri, 14 Jul 2017 19:54:59 +0000 (14 09:54 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 6 Sep 2017 15:06:48 +0000 (6 08:06 -0700)
tree8eaa7e7448d18e5f3ed5e9436c5530e844c870ae
parent2316922420da6fd0d1ffb5557d0cdcc5958bcf44
target/arm: [a64] Move page and ss checks to init_disas_context

Since AArch64 uses a fixed-width ISA, we can pre-compute the number of
insns remaining on the page.  Also, we can check for single-step once.

Reviewed-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
target/arm/translate-a64.c