qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Checking underflow condition for FRCPE instr [AARCH64]


From: Peter Maydell
Subject: Re: [Qemu-devel] Checking underflow condition for FRCPE instr [AARCH64]
Date: Fri, 8 Aug 2014 11:38:24 +0100

On 8 August 2014 11:25, Peter Maydell <address@hidden> wrote:
> Since we've already dealt with the NaN and infinity and
> denormal cases by this point in the code, we know that
>    value == (-1)^S * 2^(exp-1023) * 1.frac
> If you plug in the value == 2.0^1022 and work it out
> you'll find that this corresponds to f64_exp == 1023.

...rechecking my math, if exp - 1023 == 1022 then
exp should be 2045, not 1023, so I guess we do have a
bug here.

My point remains that your email would have been
significantly more helpful if you'd explained that in your
email rather than leaving me to guess at what you were
thinking about...

thanks
-- PMM



reply via email to

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