summaryrefslogtreecommitdiff
path: root/.shippable.yml
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2020-10-13 11:35:32 +0100
committerPeter Maydell <peter.maydell@linaro.org>2020-10-20 16:12:00 +0100
commit61db12d9f9eb36761edba4d9a414cd8dd34c512b (patch)
tree942f5a69b6dbba7847b679ea36c40798d5fb6abc /.shippable.yml
parent5288145d716338ace0f83e3ff05c4d07715bb4f4 (diff)
downloadqemu-61db12d9f9eb36761edba4d9a414cd8dd34c512b.zip
target/arm: AArch32 VCVT fixed-point to float is always round-to-nearest
For AArch32, unlike the VCVT of integer to float, which honours the rounding mode specified by the FPSCR, VCVT of fixed-point to float is always round-to-nearest. (AArch64 fixed-point-to-float conversions always honour the FPCR rounding mode.) Implement this by providing _round_to_nearest versions of the relevant helpers which set the rounding mode temporarily when making the call to the underlying softfloat function. We only need to change the VFP VCVT instructions, because the standard- FPSCR value used by the Neon VCVT is always set to round-to-nearest, so we don't need to do the extra work of saving and restoring the rounding mode. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20201013103532.13391-1-peter.maydell@linaro.org
Diffstat (limited to '.shippable.yml')
0 files changed, 0 insertions, 0 deletions