summary refs log tree commit diff stats
path: root/hw/lm32/lm32_boards.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2019-02-05 16:52:37 +0000
committerPeter Maydell <peter.maydell@linaro.org>2019-02-05 16:52:37 +0000
commit51bf0d7aa91a9d4e2563240a42e6cb705cef84aa (patch)
tree4072b59c5ac2c290bd577f62a77bb62e32461a44 /hw/lm32/lm32_boards.c
parent1bafc2ba7e6bfe89fff3503fdac8db39c973de48 (diff)
downloadfocaccia-qemu-51bf0d7aa91a9d4e2563240a42e6cb705cef84aa.tar.gz
focaccia-qemu-51bf0d7aa91a9d4e2563240a42e6cb705cef84aa.zip
target/arm: Default handling of BTYPE during translation
The branch target exception for guarded pages has high priority,
and only 8 instructions are valid for that case.  Perform this
check before doing any other decode.

Clear BTYPE after all insns that neither set BTYPE nor exit via
exception (DISAS_NORETURN).

Not yet handled are insns that exit via DISAS_NORETURN for some
other reason, like direct branches.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20190128223118.5255-7-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/lm32/lm32_boards.c')
0 files changed, 0 insertions, 0 deletions