OSDN Git Service

target/arm: Convert MRS/MSR (banked, register)
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 4 Sep 2019 19:30:03 +0000 (12:30 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 5 Sep 2019 12:23:03 +0000 (13:23 +0100)
commitd0b26644502103ca97093ef67749812dc1df7eea
tree587f365b65e04ab7fad74aeb12a13b43aebf1af9
parent6313059623dc512308681ba160ed862ac387e2fb
target/arm: Convert MRS/MSR (banked, register)

The m-profile and a-profile decodings overlap.  Only return false
for the case of wrong profile; handle UNDEFINED for permission failure
directly.  This ensures that we don't accidentally pass an insn that
applies to the wrong profile.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20190904193059.26202-14-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/a32.decode
target/arm/t32.decode
target/arm/translate.c