qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Joshua Root <z3022016@student.unsw.edu.au>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Re: Performances on Mac OS X
Date: Fri, 13 Aug 2004 20:55:45 +1000	[thread overview]
Message-ID: <p06020401bd4247b23dc1@[192.168.0.2]> (raw)

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

             reply	other threads:[~2004-08-13 11:07 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-13 10:55 Joshua Root [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-08-04 15:43 [Qemu-devel] Re: Performances on Mac OS X Joshua Root
2004-08-04 16:31 ` Ben Pfaff
2004-08-04 18:50 ` Roine Gustafsson
2004-08-04 20:56   ` Fabrice Bellard
2004-08-04 21:13     ` André Braga
2004-08-04 21:25       ` Fabrice Bellard
2004-08-04 21:37         ` André Braga
2004-08-04 21:42           ` Lindsay Mathieson
2004-08-04 21:47           ` Laurent Amon
2004-08-04 21:55             ` André Braga
2004-08-13 10:17     ` Joshua Root
2004-08-13 12:14       ` Joe Batt
2004-08-15  4:39         ` dguinan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='p06020401bd4247b23dc1@[192.168.0.2]' \
    --to=z3022016@student.unsw.edu.au \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).