From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IZoZM-0007Hh-6H for qemu-devel@nongnu.org; Mon, 24 Sep 2007 10:05:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IZoZI-0007By-Ey for qemu-devel@nongnu.org; Mon, 24 Sep 2007 10:05:51 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IZoZI-0007BW-45 for qemu-devel@nongnu.org; Mon, 24 Sep 2007 10:05:48 -0400 Received: from cantor.suse.de ([195.135.220.2] helo=mx1.suse.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IZoZH-0001t1-Pk for qemu-devel@nongnu.org; Mon, 24 Sep 2007 10:05:47 -0400 Received: from Relay1.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id AF9C91500D for ; Mon, 24 Sep 2007 16:05:45 +0200 (CEST) From: Andreas Schwab Subject: Re: [Qemu-devel] Another MIPS quiet NaN fix References: <20070924133729.GA13307@caradoc.them.org> Date: Mon, 24 Sep 2007 16:05:45 +0200 In-Reply-To: <20070924133729.GA13307@caradoc.them.org> (Daniel Jacobowitz's message of "Mon\, 24 Sep 2007 09\:37\:29 -0400") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Daniel Jacobowitz 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. --=20 Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstra=DFe 5, 90409 N=FCrnberg, Germany PGP key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED= 5 "And now for something completely different."