diff options
author | David Hildenbrand <david@redhat.com> | 2019-02-18 13:27:06 +0100 |
---|---|---|
committer | Cornelia Huck <cohuck@redhat.com> | 2019-03-04 11:49:31 +0100 |
commit | cf97f9ff94662433f997c40d023b90e2506655de (patch) | |
tree | 0c3f3dfa2f2805702d5055ea63f61cc0a923e45b /target/s390x/translate.c | |
parent | c0ee7015fdd8b8a4134a468a7ab9d825ca114a76 (diff) | |
download | qemu-cf97f9ff94662433f997c40d023b90e2506655de.zip qemu-cf97f9ff94662433f997c40d023b90e2506655de.tar.gz qemu-cf97f9ff94662433f997c40d023b90e2506655de.tar.bz2 |
s390x/tcg: Prepare for IEEE-inexact-exception control (XxC)
Some instructions allow to suppress IEEE inexact exceptions.
z14 PoP, 9-23, "Suppression of Certain IEEE Exceptions"
IEEE-inexact-exception control (XxC): Bit 1 of
the M4 field is the XxC bit. If XxC is zero, recogni-
tion of IEEE-inexact exception is not suppressed;
if XxC is one, recognition of IEEE-inexact excep-
tion is suppressed.
Especially, handling for overflow/unerflow remains as is, inexact is
reported along
z14 PoP, 9-23, "Suppression of Certain IEEE Exceptions"
For example, the IEEE-inexact-exception control (XxC)
has no effect on the DXC; that is, the DXC for IEEE-
overflow or IEEE-underflow exceptions along with the
detail for exact, inexact and truncated, or inexact and
incremented, is reported according to the actual con-
dition.
Follow up patches will wire it correctly up for the applicable
instructions.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20190218122710.23639-12-david@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'target/s390x/translate.c')
0 files changed, 0 insertions, 0 deletions