From: Fabrice Bellard <fabrice@bellard.org>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Re: Performances on Mac OS X
Date: Wed, 04 Aug 2004 22:56:30 +0200 [thread overview]
Message-ID: <41114D7E.7090201@bellard.org> (raw)
In-Reply-To: <000001c47a53$fc072f20$8cdb71d5@msgrus.se>
Don't spend your time in using another compiler than gcc : most of the
time is spent in the generated code, and the quality of this code relies
on very small functions which are too simple for being optimized better.
Fabrice.
Roine Gustafsson wrote:
> Joshua Root [z3022016@student.unsw.edu.au] wrote:
>
>>Laurent Amon <amon@stanfordalumni.org> wrote:
>>
>>
>>>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
>>>to generate
>>>Altivec code...
>>
>>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.
>>
>>Using xlc does seem to give substantially better performance than
>>gcc, and not just on floating point code.
>>
>
>
> 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.
>
> /Roine
>
>
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>
next prev parent reply other threads:[~2004-08-04 21:00 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
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 17:32 ` [Qemu-devel] Intel compiler (was Re: Performances on Mac OS X) André Braga
2004-08-04 18:50 ` [Qemu-devel] Re: Performances on Mac OS X Roine Gustafsson
2004-08-04 20:56 ` Fabrice Bellard [this message]
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
-- strict thread matches above, loose matches on Subject: below --
2004-08-13 10:55 Joshua Root
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=41114D7E.7090201@bellard.org \
--to=fabrice@bellard.org \
--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).