Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BvZuH-0005Kc-0R for qemu-devel@nongnu.org; Fri, 13 Aug 2004 07:07:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BvZuD-0005IX-Gl for qemu-devel@nongnu.org; Fri, 13 Aug 2004 07:07:30 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BvZuC-0005I0-Vb for qemu-devel@nongnu.org; Fri, 13 Aug 2004 07:07:29 -0400 Received: from [203.59.3.36] (helo=mail.iinet.net.au) by monty-python.gnu.org with smtp (Exim 4.34) id 1BvZq6-00016U-Ao for qemu-devel@nongnu.org; Fri, 13 Aug 2004 07:03:15 -0400 Mime-Version: 1.0 Message-Id: Date: Fri, 13 Aug 2004 20:55:45 +1000 From: Joshua Root Subject: Re: [Qemu-devel] Re: Performances on Mac OS X Content-Type: text/plain; charset="us-ascii" ; format="flowed" 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 Roine Gustafsson wrote: >Joshua Root [z3022016@student.unsw.edu.au] wrote: > >>I have tried compiling qemu with xlc and it chokes on the asm. I >>believe that it uses a different syntax than gcc for this. I don't >>know what its syntax is, but if anybody does it shouldn't be too >>hard to make a patch which lets it compile. > > >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. Just for the record, here's a list of things in the qemu source which xlc doesn't like: * __asm__ * this sort of thing: asm volatile ("dcbst 0,%0" : : "r"(ptr) : "memory"); * "..." notation in switch cases * macros with variable number of arguments * array definitions with no size specified Cheers, Josh