target/arm: Don't warn about exception return with PC low bit set for v8M
commit4e4259d3c574a8e89c3af27bcb84bc19a442efb1
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 6 Oct 2017 15:46:48 +0000 (6 16:46 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 6 Oct 2017 15:46:48 +0000 (6 16:46 +0100)
treed5fec04a8ac238c51e22872a8c0dcbcc055a1587
parentcb484f9a6e790205e69d9a444c3e353a3a1cfd84
target/arm: Don't warn about exception return with PC low bit set for v8M

In the v8M architecture, return from an exception to a PC which
has bit 0 set is not UNPREDICTABLE; it is defined that bit 0
is discarded [R_HRJH]. Restrict our complaint about this to v7M.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 1506092407-26985-9-git-send-email-peter.maydell@linaro.org
target/arm/helper.c