qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Profiling Qemu for speed?


From: Jonas Maebe
Subject: Re: [Qemu-devel] Profiling Qemu for speed?
Date: Sun, 17 Apr 2005 12:46:37 +0200


On 17 Apr 2005, at 12:27, Paul Brook wrote:

Unfortunately it's not that simple. The push instruction may cause an
exception. Whatever optimizations you apply you've got to make sure that the
guest state is still consistent when the exception occurs.

If we just concatenate the C code of the two procedures, won't gcc take care of that for us? Or could scheduling mess this up? Maybe there's a switch to avoid having it reschedule instructions in a way that side effects happen in a different order? (that would still give us the advantage of CSE and peephole optimizations)


Jonas





reply via email to

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