qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 1/5] Fix i386 Host


From: Andreas Färber
Subject: Re: [Qemu-devel] [PATCH 1/5] Fix i386 Host
Date: Fri, 18 Jan 2008 09:58:28 +0100


Am 18.01.2008 um 07:19 schrieb Alexander Graf:


On Jan 18, 2008, at 12:25 AM, Andreas Färber wrote:


Am 17.01.2008 um 18:34 schrieb Alexander Graf:

I tested sparc-softmmu, ppc-softmmu, ppc64-softmmu, i386-softmmu on Linux/i386 from your gcc4 branch. It compiles okay on gcc (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2). Runtime behavior was identical to CVS+gcc-3.4.

Could you please test gcc4 for PowerPC as well? I don't see a reason this should not work on OSX/PPC.

As mentioned earlier, on OSX/ppc QEMU worked even without this patch mostly (with always_inline fix applied), only when running Q I got occasional crashes.

Using gcc4 on OSX/ppc still is not that bad of an idea. I don't know when Apple is going to drop support for gcc3, but I'm pretty sure they will. And since this is necessary for Linux/ppc anyway, why not check if it works on all platforms?

The performance hit (3% without kqemu as Michael measured) you get on i386 by using gcc4 does not affect ppc. So the only thing you get is more intelligent optimization, which might even make the gcc4 version faster.

Which is what I did, sorry if I didn't make that clear: I was already using gcc4 on OSX/ppc because Leopard's header files seem to have dropped gcc-3.3 support. Only on OSX/i386 it doesn't work right away.

Andreas



reply via email to

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