summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJean-Hugues DeschĂȘnes2019-11-26 14:55:36 +0100
committerPeter Maydell2019-11-26 14:55:36 +0100
commitf900b1e5b087a02199fbb6de7038828008e9e419 (patch)
tree28fa5ced49099f7d06556ad80c54a3d932c8f170 /include
parentMerge remote-tracking branch 'remotes/palmer/tags/riscv-for-master-4.2-rc3' i... (diff)
downloadqemu-f900b1e5b087a02199fbb6de7038828008e9e419.tar.gz
qemu-f900b1e5b087a02199fbb6de7038828008e9e419.tar.xz
qemu-f900b1e5b087a02199fbb6de7038828008e9e419.zip
target/arm: Fix handling of cortex-m FTYPE flag in EXCRET
According to the PushStack() pseudocode in the armv7m RM, bit 4 of the LR should be set to NOT(CONTROL.PFCA) when an FPU is present. Current implementation is doing it for armv8, but not for armv7. This patch makes the existing logic applicable to both code paths. Signed-off-by: Jean-Hugues Deschenes <jean-hugues.deschenes@ossiaco.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions