arm: Don't implement BXJ on M-profile CPUs
commit9d7c59c84d4530d05e8702b1c3a31e6da00a397e
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 20 Apr 2017 16:32:30 +0000 (20 17:32 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 20 Apr 2017 16:39:17 +0000 (20 17:39 +0100)
treea03c659705056bee8b10fc4ce99d966541dade6e
parent20bff2130753b5b38d90afee83f2b43a803bc320
arm: Don't implement BXJ on M-profile CPUs

For M-profile CPUs, the BXJ instruction does not exist at all, and
the encoding should always UNDEF. We were accidentally implementing
it to behave like A-profile BXJ; correct the error.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Message-id: 1491844419-12485-2-git-send-email-peter.maydell@linaro.org
target/arm/translate.c