[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [qemu-s390x] [Qemu-devel] [PATCH v1 11/15] s390x/tcg: Prepare for IE
From: |
Richard Henderson |
Subject: |
Re: [qemu-s390x] [Qemu-devel] [PATCH v1 11/15] s390x/tcg: Prepare for IEEE-inexact-exception control (XxC) |
Date: |
Tue, 12 Feb 2019 12:07:12 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 |
On 2/12/19 3:03 AM, David Hildenbrand wrote:
> 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.
>
> Signed-off-by: David Hildenbrand <address@hidden>
> ---
> target/s390x/fpu_helper.c | 112 +++++++++++++++++++-------------------
> 1 file changed, 56 insertions(+), 56 deletions(-)
Reviewed-by: Richard Henderson <address@hidden>
r~
- Re: [qemu-s390x] [Qemu-devel] [PATCH v1 08/15] s390x/tcg: Handle SET FPC AND LOAD FPC 3-bit BFP rounding modes, (continued)
[qemu-s390x] [PATCH v1 02/15] s390x/tcg: Fix rounding from float128 to uint64_t/uin32_t, David Hildenbrand, 2019/02/12
[qemu-s390x] [PATCH v1 10/15] s390x/tcg: Refactor saving/restoring the bfp rounding mode, David Hildenbrand, 2019/02/12
[qemu-s390x] [PATCH v1 11/15] s390x/tcg: Prepare for IEEE-inexact-exception control (XxC), David Hildenbrand, 2019/02/12
- Re: [qemu-s390x] [Qemu-devel] [PATCH v1 11/15] s390x/tcg: Prepare for IEEE-inexact-exception control (XxC),
Richard Henderson <=
[qemu-s390x] [PATCH v1 12/15] s390x/tcg: Implement XxC and checks for most FP instructions, David Hildenbrand, 2019/02/12
[qemu-s390x] [PATCH v1 13/15] s390x/tcg: Implement rounding mode and XxC for LOAD ROUNDED, David Hildenbrand, 2019/02/12
[qemu-s390x] [PATCH v1 14/15] s390x/tcg: Handle all rounding modes overwritten by BFP instructions, David Hildenbrand, 2019/02/12
Re: [qemu-s390x] [PATCH v1] s390x: Add floating-point extension facility to "qemu" cpu model, David Hildenbrand, 2019/02/12
[qemu-s390x] [PATCH v1 15/15] s390x: Add floating-point extension facility to "qemu" cpu model, David Hildenbrand, 2019/02/12