diff options
author | Ilya Leoshkevich <iii@linux.ibm.com> | 2023-07-24 10:15:56 +0200 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2023-07-24 18:44:47 +0200 |
commit | 53684e344a27da770acc9012740334154ddea24f (patch) | |
tree | 793b9326300442152fb6b4ef4175d87dd0ef7e9f /trace | |
parent | 4b6e4c0b8223681ae85462794848db4386de1a8d (diff) | |
download | qemu-53684e344a27da770acc9012740334154ddea24f.zip qemu-53684e344a27da770acc9012740334154ddea24f.tar.gz qemu-53684e344a27da770acc9012740334154ddea24f.tar.bz2 |
target/s390x: Fix CONVERT TO LOGICAL/FIXED with out-of-range inputs
CONVERT TO LOGICAL/FIXED deviate from IEEE 754 in that they raise an
inexact exception on out-of-range inputs. float_flag_invalid_cvti
aligns nicely with that behavior, so convert it to
S390_IEEE_MASK_INEXACT.
Cc: qemu-stable@nongnu.org
Fixes: defb0e3157af ("s390x: Implement opcode helpers")
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-Id: <20230724082032.66864-4-iii@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'trace')
0 files changed, 0 insertions, 0 deletions