]> git.proxmox.com Git - mirror_qemu.git/commit
target/arm: Disable most VFP sysregs for M-profile
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 29 Apr 2019 16:35:58 +0000 (17:35 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 29 Apr 2019 16:35:58 +0000 (17:35 +0100)
commitef9aae2522c22c05df17dd898099dd5c3f20d688
treeb4a68ca0b1010286f9644c4991e5c91e074f08ae
parentd33abe82c7c9847284a23e575e1078cccab540b5
target/arm: Disable most VFP sysregs for M-profile

The only "system register" that M-profile floating point exposes
via the VMRS/VMRS instructions is FPSCR, and it does not have
the odd special case for rd==15. Add a check to ensure we only
expose FPSCR.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20190416125744.27770-5-peter.maydell@linaro.org
target/arm/translate.c