]> git.proxmox.com Git - mirror_qemu.git/commit - target/arm/translate.c
target/arm: Convert jazelle from feature bit to isar1 test
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 24 Oct 2018 06:50:17 +0000 (07:50 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 24 Oct 2018 06:50:17 +0000 (07:50 +0100)
commit09cbd50198d5dcac8bea2e47fa5dd641ec505fae
treed232d47ca994e39ed722420e4d0cef8a576ea412
parent7e0cf8b47f0e67cebbc3dfa73f304e56ad1a090f
target/arm: Convert jazelle from feature bit to isar1 test

Having V6 alone imply jazelle was wrong for cortex-m0.
Change to an assertion for V6 & !M.

This was harmless, because the only place we tested ARM_FEATURE_JAZELLE
was for 'bxj' in disas_arm(), which is unreachable for M-profile cores.

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20181016223115.24100-6-richard.henderson@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/cpu.c
target/arm/cpu.h
target/arm/translate.c