qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Fix FMULX not squashing denormalized inputs whe


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH] Fix FMULX not squashing denormalized inputs when FZ is set.
Date: Thu, 29 Jan 2015 19:20:22 +0000

On 28 January 2015 at 15:40, Xiangyu Hu <address@hidden> wrote:
> While FMULX returns a 2.0f float when two operators are infinity and
> zero, those operators should be unpacked from raw inputs first. Inconsistent
> cases would occur when operators are denormalized floats in flush-to-zero
> mode. A wrong codepath will be entered and 2.0f will not be returned
> without this patch.
> Fix by checking whether inputs need to be flushed before running into
> different codepaths.
>
> Signed-off-by: Xiangyu Hu <address@hidden>

Applied to target-arm.next, thanks.

It looks like we have equivalent bugs in the FRECPS and
FRSQRTS instructions...

-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]