]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/arm: Allow reading flags from FPSCR for M-profile
authorChristophe Lyon <christophe.lyon@linaro.org>
Fri, 25 Oct 2019 09:57:11 +0000 (11:57 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 1 Nov 2019 20:41:00 +0000 (20:41 +0000)
commit2529ab43b8a05534494704e803e0332d111d8b91
treef9fb9e3f6d437a42d13e116941375f5e131297e0
parent98be6b7d62124a1ec9a7094c2a30981f82a07f9f
target/arm: Allow reading flags from FPSCR for M-profile

rt==15 is a special case when reading the flags: it means the
destination is APSR. This patch avoids rejecting
vmrs apsr_nzcv, fpscr
as illegal instruction.

Cc: qemu-stable@nongnu.org
Signed-off-by: Christophe Lyon <christophe.lyon@linaro.org>
Message-id: 20191025095711.10853-1-christophe.lyon@linaro.org
[PMM: updated the comment]
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/translate-vfp.inc.c