target-arm: Set softfloat cumulative exc flags from correct FPSCR bits
commitb12c390b9108d44cb0b05900d6c11a73ee0e9cae
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 6 Jan 2011 19:37:54 +0000 (6 19:37 +0000)
committerAurelien Jarno <aurelien@aurel32.net>
Thu, 6 Jan 2011 21:16:59 +0000 (6 22:16 +0100)
tree75d791dbe97341c083b9cc74382659cf94982e6e
parent37d18660bbb1d60b4e59bf407b4b301749e0c3b9
target-arm: Set softfloat cumulative exc flags from correct FPSCR bits

When handling a write to the ARM FPSCR, set the softfloat cumulative
exception flags from the cumulative flags in the FPSCR, not the
exception-enable bits. Also don't apply a mask: vfp_exceptbits_to_host
will only look at the correct bits anyway.

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