]> git.proxmox.com Git - mirror_qemu.git/commit
target/arm: Make sure M-profile FPSCR RES0 bits are not settable
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)
commit5bcf8ed9401e62c73158ba110864ee1375558bf7
treee2dd89a4d14dda037265098490ed736c0cbe4fe6
parent79d77bcd366190a81d092177e4f84d34b7a56fc2
target/arm: Make sure M-profile FPSCR RES0 bits are not settable

Enforce that for M-profile various FPSCR bits which are RES0 there
but have defined meanings on A-profile are never settable. This
ensures that M-profile code can't enable the A-profile behaviour
(notably vector length/stride handling) by accident.

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