On 5/24/19 7:20 PM, John Arbuckle wrote: > Signed-off-by: John Arbuckle <programmingk...@gmail.com> > --- > 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 <richard.hender...@linaro.org> For your usage within PowerPC, you will additionally need to modify round_to_int. r~