[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [Qemu-devel] [V4 PATCH 17/22] target-ppc: Fix and enable
From: |
Richard Henderson |
Subject: |
Re: [Qemu-ppc] [Qemu-devel] [V4 PATCH 17/22] target-ppc: Fix and enable fri[mnpz] |
Date: |
Wed, 08 Jan 2014 10:32:56 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
On 01/07/2014 08:06 AM, Tom Musta wrote:
> The fri* series of instructions was introduced prior to ISA 2.06 and
> is supported on Power7 and Power8 hardware. However, the instruction
> is still considered illegal in the P7 and P8 QEMU emulation models.
> This patch enables these instructions for the P7 and P8 machines.
>
> Also, the existing helper is modified to correctly handle some of
> the boundary cases (NaNs and the inexact flag).
>
> Signed-off-by: Tom Musta <address@hidden>
> ---
> V4: frin changed to use "ties away" rounding mode per Richard Henderson's
> review. Modified NaN handling. Proper handling of stickiness of
> the inexact flag. Added to P7+ model.
>
> target-ppc/fpu_helper.c | 18 +++++++++++-------
> target-ppc/translate_init.c | 3 +++
> 2 files changed, 14 insertions(+), 7 deletions(-)
Reviewed-by: Richard Henderson <address@hidden>
r~
- [Qemu-ppc] [V4 PATCH 14/22] softfloat: Factor out RoundAndPackFloat16 and NormalizeFloat16Subnormal, (continued)
- [Qemu-ppc] [V4 PATCH 14/22] softfloat: Factor out RoundAndPackFloat16 and NormalizeFloat16Subnormal, Tom Musta, 2014/01/07
- [Qemu-ppc] [V4 PATCH 10/22] target-ppc: Add Flag for ISA V2.06 Floating Point Conversion, Tom Musta, 2014/01/07
- [Qemu-ppc] [V4 PATCH 15/22] softfloat: Refactor code handling various rounding modes, Tom Musta, 2014/01/07
- [Qemu-ppc] [V4 PATCH 11/22] target-ppc: Add ISA2.06 Float to Integer Instructions, Tom Musta, 2014/01/07
- [Qemu-ppc] [V4 PATCH 09/22] target-ppc: Add ISA 2.06 stbcx. and sthcx. Instructions, Tom Musta, 2014/01/07
- [Qemu-ppc] [V4 PATCH 12/22] target-ppc: Add ISA 2.06 fcfid[u][s] Instructions, Tom Musta, 2014/01/07
- [Qemu-ppc] [V4 PATCH 16/22] softfloat: Add support for ties-away rounding, Tom Musta, 2014/01/07
- [Qemu-ppc] [V4 PATCH 17/22] target-ppc: Fix and enable fri[mnpz], Tom Musta, 2014/01/07
- Re: [Qemu-ppc] [Qemu-devel] [V4 PATCH 17/22] target-ppc: Fix and enable fri[mnpz],
Richard Henderson <=
- [Qemu-ppc] [V4 PATCH 18/22] target-ppc: Add Flag for Power ISA V2.06 Floating Point Test Instructions, Tom Musta, 2014/01/07
- [Qemu-ppc] [V4 PATCH 19/22] target-ppc: Add ISA 2.06 ftdiv Instruction, Tom Musta, 2014/01/07
- [Qemu-ppc] [V4 PATCH 20/22] target-ppc: Add ISA 2.06 ftsqrt, Tom Musta, 2014/01/07
- [Qemu-ppc] [V4 PATCH 22/22] target-ppc: Add ISA2.06 lfiwzx Instruction, Tom Musta, 2014/01/07
- [Qemu-ppc] [V4 PATCH 21/22] target-ppc: Enable frsqrtes on Power7 and Power8, Tom Musta, 2014/01/07
- Re: [Qemu-ppc] [V4 PATCH 00/22] target-ppc: Base ISA V2.06 for Power7/Power8, Alexander Graf, 2014/01/27