|
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 anexception. Whatever optimizations you apply you've got to make sure that theguest 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
[Prev in Thread] | Current Thread | [Next in Thread] |