Home
last modified time | relevance | path

Searched hist:"53684 e344a27da770acc9012740334154ddea24f" (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/target/s390x/tcg/
H A Dfpu_helper.cdiff 53684e344a27da770acc9012740334154ddea24f Mon Jul 24 03:15:56 CDT 2023 Ilya Leoshkevich <iii@linux.ibm.com> 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>