[Top][All Lists]

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

Re: [Qemu-ppc] [Qemu-devel] [RFC PATCH v0] softfloat: Add round-to-odd r

From: Peter Maydell
Subject: Re: [Qemu-ppc] [Qemu-devel] [RFC PATCH v0] softfloat: Add round-to-odd rounding mode
Date: Thu, 19 Jan 2017 15:44:42 +0000

On 19 January 2017 at 15:29, Richard Henderson <address@hidden> wrote:
> The description in see in the manual on page 387 is more precise than what
> you quote above:
>   # If IR is exact, choose IR.
>   # Otherwise choose NL, and if Guard=1, Round=1 or Sticky=1,
>   # the least significant bit of the result is set to 1.
> The "choose NL" part means round-to-zero, which means that we do not
> overflow to infinity.  And since FLOAT128_MAX is already odd, we're done.

...so it does have the same semantics as ARM. Good :-)

-- PMM

reply via email to

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