]> git.proxmox.com Git - qemu.git/commit - target-arm/helper.c
ARM: Return correct result for single<->double conversion of NaN
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)
commit2d6277373d3fc18f11504cd05ea82f0fe6d67962
tree79cd0a50165399bf9f87890e1a1965363304d682
parentb408dbdec3d3220b7e2da2b0fd768048f43a2e39
ARM: Return correct result for single<->double conversion of NaN

The ARM ARM defines that if the input to a single<->double conversion
is a NaN then the output is always forced to be a quiet NaN by setting
the most significant bit of the fraction part.

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