s390x/tcg: Fix simulated-IEEE exceptions
commit8772bbe4e7cc7d67792440b0e7ea819e3cc930db
authorDavid Hildenbrand <david@redhat.com>
Mon, 18 Feb 2019 12:27:02 +0000 (18 13:27 +0100)
committerCornelia Huck <cohuck@redhat.com>
Mon, 4 Mar 2019 10:49:31 +0000 (4 11:49 +0100)
treef88950656b23298beaee2f86cdffd0a1d480d62c
parentf66a0ecf233cae4cf170ccd1c339776b5b344775
s390x/tcg: Fix simulated-IEEE exceptions

The trap is triggered based on priority of the enabled signaling flags.
Only overflow and underflow allow a concurrent inexact exception.

z14 PoP, 9-33, Figure 9-21

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20190218122710.23639-8-david@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
target/s390x/fpu_helper.c