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.
/Roine
_______________________________________________
Qemu-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/qemu-devel