From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BsQwo-0003UK-U3 for qemu-devel@nongnu.org; Wed, 04 Aug 2004 14:57:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BsQwo-0003Tx-3Q for qemu-devel@nongnu.org; Wed, 04 Aug 2004 14:57:10 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BsQwo-0003Tu-12 for qemu-devel@nongnu.org; Wed, 04 Aug 2004 14:57:10 -0400 Received: from [195.54.107.73] (helo=mxfep02.bredband.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BsQsp-0002rg-Ay for qemu-devel@nongnu.org; Wed, 04 Aug 2004 14:53:03 -0400 Received: from grusxp ([213.113.219.140] [213.113.219.140]) by mxfep02.bredband.com with ESMTP id <20040804185301.NOHJ23867.mxfep02.bredband.com@grusxp> for ; Wed, 4 Aug 2004 20:53:01 +0200 From: "Roine Gustafsson" Subject: RE: [Qemu-devel] Re: Performances on Mac OS X Date: Wed, 4 Aug 2004 20:50:59 +0200 Message-ID: <000001c47a53$fc072f20$8cdb71d5@msgrus.se> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable In-Reply-To: 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 Joshua Root [z3022016@student.unsw.edu.au] wrote: > Laurent Amon wrote: >=20 > >I was wondering whether the implementation of qemu is tied to gcc or > >if it might > >be interesting to try to compile using IBM's compiler, which is able=20 > >to generate > >Altivec code... >=20 > I have tried compiling qemu with xlc and it chokes on the asm. I=20 > believe that it uses a different syntax than gcc for this. I don't=20 > know what its syntax is, but if anybody does it shouldn't be too hard=20 > to make a patch which lets it compile. >=20 > Using xlc does seem to give substantially better performance than=20 > gcc, and not just on floating point code. >=20 xlc is picky with the source and takes FOREVER to compile with -O6. = However, xlc is object compatible with gcc, so usually you just use xlc on core = stuff that needs the speed, and gcc for everything else. Compile everything with gcc, rm the object files you want to remake with = xlc (based on profiling), edit the makefiles to use xlc and make again.=20 /Roine