aboutsummaryrefslogtreecommitdiff
path: root/target/arm/neon-ls.decode
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2020-04-30 19:09:29 +0100
committerPeter Maydell <peter.maydell@linaro.org>2020-05-04 12:57:56 +0100
commitd1a6d3b594157425232a1ae5ea7f51b7a1c1aa2e (patch)
tree50060d42bb37226d4bf92551bff59b2214dfb1e7 /target/arm/neon-ls.decode
parent0d787cf1f3c88fa29477e054f8523f6d82d91c98 (diff)
downloadqemu-d1a6d3b594157425232a1ae5ea7f51b7a1c1aa2e.zip
qemu-d1a6d3b594157425232a1ae5ea7f51b7a1c1aa2e.tar.gz
qemu-d1a6d3b594157425232a1ae5ea7f51b7a1c1aa2e.tar.bz2
target/arm: Don't allow Thumb Neon insns without FEATURE_NEON
We were accidentally permitting decode of Thumb Neon insns even if the CPU didn't have the FEATURE_NEON bit set, because the feature check was being done before the call to disas_neon_data_insn() and disas_neon_ls_insn() in the Arm decoder but was omitted from the Thumb decoder. Push the feature bit check down into the called functions so it is done for both Arm and Thumb encodings. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-id: 20200430181003.21682-3-peter.maydell@linaro.org
Diffstat (limited to 'target/arm/neon-ls.decode')
0 files changed, 0 insertions, 0 deletions