Received: from [140.186.70.92] (port=53635 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PTeW7-0007uJ-Kg for qemu-devel@nongnu.org; Fri, 17 Dec 2010 12:55:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PTeVx-0005k9-NI for qemu-devel@nongnu.org; Fri, 17 Dec 2010 12:54:50 -0500 Received: from fmmailgate01.web.de ([217.72.192.221]:47464) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PTeVx-0005jj-CF for qemu-devel@nongnu.org; Fri, 17 Dec 2010 12:54:45 -0500 Message-Id: From: =?ISO-8859-1?Q?Andreas_F=E4rber?= In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: [Qemu-devel] [PATCH V2] softfloat: Rename float*_is_nan() functions to float*_is_quiet_nan() Date: Fri, 17 Dec 2010 18:54:21 +0100 References: <1292601366-990-1-git-send-email-peter.maydell@linaro.org> <5C19C2AC-87D5-4C9E-8D8D-E2FEC4AC89F5@web.de> Sender: andreas.faerber@web.de List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: "Edgar E. Iglesias" , qemu-devel@nongnu.org, Nathan Froyd Am 17.12.2010 um 17:48 schrieb Peter Maydell: > On 17 December 2010 16:19, Andreas F=E4rber =20= > wrote: >>> Can this patch be applied? (There are more ARM/softfloat patches >>> in my queue which will break it again otherwise...) >> >> If we're engaging into refactoring the softfloat library, I still =20 >> have a >> large'ish patch lying around to fix signature mismatches between =20 >> header and >> sources wrt to integer arguments and migrating to POSIX integer types >> (BeOS/Haiku system headers define int32 etc. differently). Browsing =20= >> through >> your patch it shouldn't conflict, but I guess it'll be best to have =20= >> it go >> through your queue to avoid troubles. > > I wasn't planning to put this patch into my "ARM fixes" queue to be > pulled directly, because it's a bit wider in scope than fixing things > for ARM targets. (Hence the "can this be applied?" request :-)) > > On the types issue, at the moment softfloat uses "int32" etc for > "a handy type holding at least 32 bits", and "bits32" for "exactly > 32 bits". So I guess changing the 'bits' types to the POSIX int32_t > and friends would be straightforward enough, but what does your > patch do with the int32 types? My patch does not touch the bits* types. I didn't notice any problem =20 there. I replaced int32 by int32_t, int64 by int64_t etc. No sane code puts =20 more than 32 bits into an "int32" variable, and my guests on OSX/ppc64 =20= host still appeared to work. I don't have arm guests though so please =20= check on your side. There's int_least*_t in case we really need it: http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/stdint.h.html Andreas=