diff options
| author | David Hildenbrand <david@redhat.com> | 2021-06-08 11:23:12 +0200 |
|---|---|---|
| committer | Cornelia Huck <cohuck@redhat.com> | 2021-06-21 08:48:20 +0200 |
| commit | 0a3be7be73e594388ae2a91017b7ffafab15a7d9 (patch) | |
| tree | e26aaa57571872527864e5079871bd1e2c33dc0f /python/qemu/utils/accel.py | |
| parent | 3fb3b122ac061859c20cdb14567313f137dbc152 (diff) | |
| download | focaccia-qemu-0a3be7be73e594388ae2a91017b7ffafab15a7d9.tar.gz focaccia-qemu-0a3be7be73e594388ae2a91017b7ffafab15a7d9.zip | |
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 'python/qemu/utils/accel.py')
0 files changed, 0 insertions, 0 deletions