[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Qemu-devel] Re: Performances on Mac OS X

From: Roine Gustafsson
Subject: RE: [Qemu-devel] Re: Performances on Mac OS X
Date: Wed, 4 Aug 2004 20:50:59 +0200

Joshua Root address@hidden wrote:
> Laurent Amon <address@hidden> 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. 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]