[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Another MIPS quiet NaN fix
From: |
Andreas Schwab |
Subject: |
Re: [Qemu-devel] Another MIPS quiet NaN fix |
Date: |
Mon, 24 Sep 2007 16:05:45 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (gnu/linux) |
Daniel Jacobowitz <address@hidden> writes:
> Glibc's test-float failed on my qemu testing. I tracked it down to
> these routines: if you count the bits carefully, you'll see that
> 0x7FC00000 sets the quiet NaN bit (on most hardware - signalling NaN
> in the MIPS case); so does a.high >> 41, which copies it from the
> original NaN. I think this routine should not force a quiet or
> signalling NaN, but just preserve the input NaN's signalling-ness.
You may need to make sure that at least one mantissa bit is set.
Andreas.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."