]> git.proxmox.com Git - mirror_qemu.git/commit
target/arm: Make disas_thumb2_insn() generate its own UNDEF exceptions
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 11 Jan 2018 13:25:40 +0000 (13:25 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 11 Jan 2018 13:25:40 +0000 (13:25 +0000)
commit2eea841c11096e8dcc457b80e21f3fbdc32d2590
treeaf49f07b579828654f824fd26eda04ca0b746310
parent579648554acbd6c22d5cc2f03cf77cfc25332650
target/arm: Make disas_thumb2_insn() generate its own UNDEF exceptions

Refactor disas_thumb2_insn() so that it generates the code for raising
an UNDEF exception for invalid insns, rather than returning a flag
which the caller must check to see if it needs to generate the UNDEF
code. This brings the function in to line with the behaviour of
disas_thumb_insn() and disas_arm_insn().

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