[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [qemu-s390x] [PATCH v2 01/15] s390x/tcg: Fix TEST DATA CLASS instruc
From: |
Richard Henderson |
Subject: |
Re: [qemu-s390x] [PATCH v2 01/15] s390x/tcg: Fix TEST DATA CLASS instructions |
Date: |
Wed, 13 Feb 2019 11:17:03 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 |
On 2/13/19 6:33 AM, David Hildenbrand wrote:
> Let's detect normal and denormal ("subnormal") numbers reliably. Also
> test for quiet NaN's. As only one class is possible, test common cases
> first.
>
> While at it, use a better check to test for the mask bits in the data
> class mask. The data class mask has 12 bits, whereby bit 0 is the
> leftmost bit and bit 11 the rightmost bit. In the PoP an easy to read
> table with the numbers is provided for the VECTOR FP TEST DATA CLASS
> IMMEDIATE instruction, the table for TEST DATA CLASS is more confusing
> as it is based on 64 bit values.
>
> Factor the checks out into separate functions, as they will also be
> needed for floating point vector instructions. We can use a makro to
> generate the functions.
>
> Signed-off-by: David Hildenbrand <address@hidden>
> ---
Reviewed-by: Richard Henderson <address@hidden>
r~
- [qemu-s390x] [PATCH v2 00/15] s390x/tcg: Implement floating-point extension facility, David Hildenbrand, 2019/02/13
- [qemu-s390x] [PATCH v2 02/15] s390x/tcg: Fix rounding from float128 to uint64_t/uin32_t, David Hildenbrand, 2019/02/13
- [qemu-s390x] [PATCH v2 03/15] s390x/tcg: Factor out conversion of softfloat exceptions, David Hildenbrand, 2019/02/13
- [qemu-s390x] [PATCH v2 05/15] s390x/tcg: Hide IEEE underflows in some scenarios, David Hildenbrand, 2019/02/13
- [qemu-s390x] [PATCH v2 06/15] s390x/tcg: Refactor SET FPC AND SIGNAL handling, David Hildenbrand, 2019/02/13
- [qemu-s390x] [PATCH v2 04/15] s390x/tcg: Fix parts of IEEE exception handling, David Hildenbrand, 2019/02/13
- [qemu-s390x] [PATCH v2 07/15] s390x/tcg: Fix simulated-IEEE exceptions, David Hildenbrand, 2019/02/13
- [qemu-s390x] [PATCH v2 01/15] s390x/tcg: Fix TEST DATA CLASS instructions, David Hildenbrand, 2019/02/13
- Re: [qemu-s390x] [PATCH v2 01/15] s390x/tcg: Fix TEST DATA CLASS instructions,
Richard Henderson <=
- [qemu-s390x] [PATCH v2 08/15] s390x/tcg: Handle SET FPC AND LOAD FPC 3-bit BFP rounding modes, David Hildenbrand, 2019/02/13
- [qemu-s390x] [PATCH v2 09/15] s390x/tcg: Check for exceptions in SET BFP ROUNDING MODE, David Hildenbrand, 2019/02/13
- [qemu-s390x] [PATCH v2 10/15] s390x/tcg: Refactor saving/restoring the bfp rounding mode, David Hildenbrand, 2019/02/13
- [qemu-s390x] [PATCH v2 11/15] s390x/tcg: Prepare for IEEE-inexact-exception control (XxC), David Hildenbrand, 2019/02/13
- [qemu-s390x] [PATCH v2 13/15] s390x/tcg: Implement rounding mode and XxC for LOAD ROUNDED, David Hildenbrand, 2019/02/13
- [qemu-s390x] [PATCH v2 12/15] s390x/tcg: Implement XxC and checks for most FP instructions, David Hildenbrand, 2019/02/13