Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LUiB4-0004pt-1T for qemu-devel@nongnu.org; Wed, 04 Feb 2009 08:52:30 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LUiB3-0004pZ-8O for qemu-devel@nongnu.org; Wed, 04 Feb 2009 08:52:29 -0500 Received: from [199.232.76.173] (port=36309 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LUiB3-0004pS-3D for qemu-devel@nongnu.org; Wed, 04 Feb 2009 08:52:29 -0500 Received: from savannah.gnu.org ([199.232.41.3]:34698 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LUiB2-0001Us-M6 for qemu-devel@nongnu.org; Wed, 04 Feb 2009 08:52:28 -0500 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1LUiB2-0002rT-59 for qemu-devel@nongnu.org; Wed, 04 Feb 2009 13:52:28 +0000 Received: from aurel32 by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1LUiB1-0002rP-Vx for qemu-devel@nongnu.org; Wed, 04 Feb 2009 13:52:28 +0000 MIME-Version: 1.0 Errors-To: aurel32 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Aurelien Jarno Message-Id: Date: Wed, 04 Feb 2009 13:52:27 +0000 Subject: [Qemu-devel] [6514] softfloat: add a 1.0 constant for float32 and float64 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 Revision: 6514 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6514 Author: aurel32 Date: 2009-02-04 13:52:27 +0000 (Wed, 04 Feb 2009) Log Message: ----------- softfloat: add a 1.0 constant for float32 and float64 Signed-off-by: Aurelien Jarno Modified Paths: -------------- trunk/fpu/softfloat.h Modified: trunk/fpu/softfloat.h =================================================================== --- trunk/fpu/softfloat.h 2009-02-04 13:52:17 UTC (rev 6513) +++ trunk/fpu/softfloat.h 2009-02-04 13:52:27 UTC (rev 6514) @@ -307,6 +307,7 @@ } #define float32_zero make_float32(0) +#define float32_one make_float32(0x3f800000) /*---------------------------------------------------------------------------- | Software IEC/IEEE double-precision conversion routines. @@ -376,6 +377,7 @@ } #define float64_zero make_float64(0) +#define float64_one make_float64(0x3ff0000000000000LL) #ifdef FLOATX80