]> git.proxmox.com Git - qemu.git/commit
ARM: Implement VCVT to 16 bit integer using new softfloat routines
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 7 Dec 2010 15:37:34 +0000 (15:37 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 7 Dec 2010 15:37:34 +0000 (15:37 +0000)
commit72f24d155ceffa0eb888fd277fa09584bcd1b04c
tree6dd91c21e8192ab2f4ec24b85a74afe556b5b331
parentcbcef455a2d29cdd19f4f0a21990cd76c0d03102
ARM: Implement VCVT to 16 bit integer using new softfloat routines

Use the softfloat conversion routines for conversion to 16 bit
integers, because just casting to a 16 bit type truncates the
value rather than saturating it at 16-bit MAXINT/MININT.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Nathan Froyd <froydnj@codesourcery.com>
target-arm/helper.c