From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IoORW-0006T5-Az for qemu-devel@nongnu.org; Sat, 03 Nov 2007 15:14:02 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IoORT-0006Sp-TL for qemu-devel@nongnu.org; Sat, 03 Nov 2007 15:14:01 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IoORT-0006Sm-Nn for qemu-devel@nongnu.org; Sat, 03 Nov 2007 15:13:59 -0400 Received: from hall.aurel32.net ([88.191.38.19]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IoORT-0001Qx-HS for qemu-devel@nongnu.org; Sat, 03 Nov 2007 15:13:59 -0400 Received: from volta.aurel32.net ([2001:618:400:fc13:216:d3ff:fe17:fd00]) by hall.aurel32.net with esmtpsa (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1IoORO-0006Sz-Cx for qemu-devel@nongnu.org; Sat, 03 Nov 2007 20:13:54 +0100 Received: from localhost.aurel32.net ([127.0.0.1] ident=aurel32) by volta.aurel32.net with esmtp (Exim 4.68) (envelope-from ) id 1IoORP-0003BC-RQ for qemu-devel@nongnu.org; Sat, 03 Nov 2007 20:13:55 +0100 Message-ID: <472CC873.4080502@aurel32.net> Date: Sat, 03 Nov 2007 20:13:55 +0100 From: Aurelien Jarno MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] Fix NaN handling in softfloat References: <20071103173548.GA16847@hall.aurel32.net> <20071103183048.GD14756@networkno.de> In-Reply-To: <20071103183048.GD14756@networkno.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit 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 Thiemo Seufer a écrit : > Aurelien Jarno wrote: >> Hi all, >> >> The current softfloat implementation changes qNaN into sNaN when >> converting between formats, for no reason. The attached patch fixes >> that. > > Did you take into account that MIPS and PA-RISC have the signalling > bit inverted to the rest of the world? Oh didn't know about that! Anyway that doesn't change anything, as the patch simply copy parts of the mantissa from one format to another. That just means on other architectures, sNaN are changed into qNaN. -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' aurel32@debian.org | aurelien@aurel32.net `- people.debian.org/~aurel32 | www.aurel32.net