target-arm: Fix IL bit reported for Thumb coprocessor traps
commit4df322593037d2700f72dfdfb967300b7ad2e696
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 11 Feb 2016 11:17:31 +0000 (11 11:17 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 11 Feb 2016 11:17:31 +0000 (11 11:17 +0000)
tree105f55d22619a99fbe62b89ba824a73dfec4b04b
parentfc05f4a62c568b607ec3fe428a419bb38205b570
target-arm: Fix IL bit reported for Thumb coprocessor traps

All Thumb coprocessor instructions are 32 bits, so the IL
bit in the syndrome register should be set. Pass false to the
syn_* function's is_16bit argument rather than s->thumb
so we report the correct IL bit.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Sergey Fedorov <serge.fdrv@gmail.com>
Message-id: 1454683067-16001-3-git-send-email-peter.maydell@linaro.org
target-arm/translate.c