[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/2] Implement Floating Point flag Fraction Roun
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [PATCH 1/2] Implement Floating Point flag Fraction Rounded |
Date: |
Tue, 11 Jun 2019 14:00:52 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 |
On 5/24/19 7:20 PM, John Arbuckle wrote:
> Signed-off-by: John Arbuckle <address@hidden>
> ---
> fpu/softfloat.c | 15 ++++++++++++---
> include/fpu/softfloat-types.h | 1 +
> 2 files changed, 13 insertions(+), 3 deletions(-)
There are additional places that need changing within this file, even if we
consider only float32 and float64 and ignore floatx80 and float128.
That said, merely renaming this patch to
"softfloat: Implement float_flag_rounded in round_canonical
Add a new flag to indicate that, when inexact, the result has
been rounded. That is, when the LSB of the rounded result
differs from the same bit of the infinite precision result."
is enough to get
Reviewed-by: Richard Henderson <address@hidden>
For your usage within PowerPC, you will additionally need to modify
round_to_int.
r~
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [PATCH 1/2] Implement Floating Point flag Fraction Rounded,
Richard Henderson <=