target/arm: Support some Thumb insns being always unconditional
commitdcf14dfb704519846f396a376339ebdb93eaf049
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 9 Oct 2017 13:48:38 +0000 (9 14:48 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 12 Oct 2017 12:23:14 +0000 (12 13:23 +0100)
treeedcffb780cb2992dd9c6a7da73035127066ce622
parent5b8d7289e9e92a0d7bcecb93cd189e245fef10cd
target/arm: Support some Thumb insns being always unconditional

A few Thumb instructions are always unconditional even inside an
IT block (as opposed to being UNPREDICTABLE if used inside an
IT block): BKPT, the v8M SG instruction, and the A profile
HLT (debug halt) instruction.

This means we need to suppress the jump-over-instruction-on-condfail
code generation (though the IT state still advances as usual and
subsequent insns in the IT block may be conditional).

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 1507556919-24992-9-git-send-email-peter.maydell@linaro.org
target/arm/translate.c