aboutsummaryrefslogtreecommitdiff
path: root/bsd-user/sparc
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2021-06-08 11:23:12 +0200
committerCornelia Huck <cohuck@redhat.com>2021-06-21 08:48:20 +0200
commit0a3be7be73e594388ae2a91017b7ffafab15a7d9 (patch)
treee26aaa57571872527864e5079871bd1e2c33dc0f /bsd-user/sparc
parent3fb3b122ac061859c20cdb14567313f137dbc152 (diff)
downloadqemu-0a3be7be73e594388ae2a91017b7ffafab15a7d9.zip
qemu-0a3be7be73e594388ae2a91017b7ffafab15a7d9.tar.gz
qemu-0a3be7be73e594388ae2a91017b7ffafab15a7d9.tar.bz2
s390x/tcg: Fix FP CONVERT TO (LOGICAL) FIXED NaN handling
In case we encounter a NaN, we have to return the smallest possible number, corresponding to either 0 or the maximum negative number. This seems to differ from IEEE handling as implemented in softfloat, whereby we return the biggest possible number. While at it, use float32_to_uint64() in the CLGEB handler. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: David Hildenbrand <david@redhat.com> Message-Id: <20210608092337.12221-2-david@redhat.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'bsd-user/sparc')
0 files changed, 0 insertions, 0 deletions