target-arm: Add set_neon_rmode helper
authorWill Newton <will.newton@linaro.org>
Fri, 31 Jan 2014 14:47:35 +0000 (14:47 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 31 Jan 2014 14:47:35 +0000 (14:47 +0000)
commit43630e585300465b72ecf328822c8611724307de
treedcec72fd1e962c01ec659c148d7379cbb46ee5b6
parent2ce7062501c715aae0ad37c3923a3710dd8914df
target-arm: Add set_neon_rmode helper

This helper sets the rounding mode in the standard_fp_status word to
allow NEON instructions to modify the rounding mode whilst using the
standard FPSCR values for everything else.

Signed-off-by: Will Newton <will.newton@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-arm/helper.c
target-arm/helper.h