target/arm: Convert division from feature bits to isar0 tests
commit7e0cf8b47f0e67cebbc3dfa73f304e56ad1a090f
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 24 Oct 2018 06:50:16 +0000 (24 07:50 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 24 Oct 2018 06:50:16 +0000 (24 07:50 +0100)
treecbb0ab5deb149ddd90bd356ea39ed0521dca8371
parent962fcbf2efe57231a9f5df0ae0f40c05e35628ba
target/arm: Convert division from feature bits to isar0 tests

Both arm and thumb2 division are controlled by the same ISAR field,
which takes care of the arm implies thumb case.  Having M imply
thumb2 division was wrong for cortex-m0, which is v6m and does not
have thumb2 at all, much less thumb2 division.

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