From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JHhPE-0005OS-51 for qemu-devel@nongnu.org; Wed, 23 Jan 2008 10:20:48 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JHhPC-0005NJ-Vy for qemu-devel@nongnu.org; Wed, 23 Jan 2008 10:20:47 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JHhPC-0005Mh-Fs for qemu-devel@nongnu.org; Wed, 23 Jan 2008 10:20:46 -0500 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 1JHhPC-00055y-4s for qemu-devel@nongnu.org; Wed, 23 Jan 2008 10:20:46 -0500 Received: from anguille.univ-lyon1.fr ([134.214.4.207]) by hall.aurel32.net with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1JHhPA-000726-Sd for qemu-devel@nongnu.org; Wed, 23 Jan 2008 16:20:44 +0100 Message-ID: <47975B47.6020603@aurel32.net> Date: Wed, 23 Jan 2008 16:20:39 +0100 From: Aurelien Jarno MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH][PPC] Use float32/64 instead of float/double References: <20071230152845.GW5688@hall.aurel32.net> <20080102232646.GA30665@hall.aurel32.net> In-Reply-To: <20080102232646.GA30665@hall.aurel32.net> Content-Type: text/plain; charset=ISO-8859-15 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 Aurelien Jarno a écrit : > On Sun, Dec 30, 2007 at 06:32:45PM +0200, Blue Swirl wrote: >> On 12/30/07, Aurelien Jarno wrote: >>> The patch below changes the float and double types into float32 and >>> and float64 types in the PPC code. This doesn't change anything when >>> using softfloat-native as the types are the same, but that helps >>> compiling the PPC target with softfloat. >> You could also consider replacing the unions with the common >> definition CPU_DoubleU in cpu-all.h and also add CPU_FloatU. > > Good idea. Please find and updated patch below. > > > The patch below uses the float32 and float64 types instead of the float > and double types in the PPC code. This doesn't change anything when > using softfloat-native as the types are the same, but that helps > compiling the PPC target with softfloat. > > It also defines a new union CPU_FloatU in addition to CPU_DoubleU, and > use them instead of identical unions that are defined in numerous > places. > > cpu-all.h | 5 > target-ppc/op.c | 83 ++------ > target-ppc/op_helper.c | 418 +++++++++++++++------------------------------ > target-ppc/op_helper.h | 104 +++-------- > target-ppc/op_helper_mem.h | 18 - > target-ppc/op_mem.h | 69 ++----- > 6 files changed, 240 insertions(+), 457 deletions(-) Any news about this patch? -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' aurel32@debian.org | aurelien@aurel32.net `- people.debian.org/~aurel32 | www.aurel32.net