]> git.proxmox.com Git - qemu.git/commit - target-arm/translate.c
target-arm: Use correct float status for Neon int-float conversions
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 19 May 2011 13:46:19 +0000 (14:46 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Mon, 23 May 2011 20:39:36 +0000 (22:39 +0200)
commit5500b06cb5091c352a7ce6552da02c9e1958bf3b
tree5fd93bad4e53a0b6272215927e63937bcc7118c2
parent36802b6b1ed7887aeae5d027f86a969400f8824a
target-arm: Use correct float status for Neon int-float conversions

The Neon versions of int-float conversions must use the "standard FPSCR"
rather than the default FPSCR. Implement this by having the helper
functions take a pointer to the appropriate float_status value rather
than simply taking a pointer to the entire CPUState, and making
translate.c pass a pointer to vfp.fp_status or vfp.standard_fp_status
appropriately for whether the instruction being translated is Neon
or VFP.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-arm/helper.c
target-arm/helper.h
target-arm/translate.c