* [Qemu-devel] Re: QEMU fails with different levels of compiler optimizati
@ 2004-07-28 16:36 Tom Musgrove
2004-07-29 20:01 ` André Braga
0 siblings, 1 reply; 2+ messages in thread
From: Tom Musgrove @ 2004-07-28 16:36 UTC (permalink / raw)
To: qemu-devel
Have you tried to optimize for size instead?
Ie -Os (and also -fomit-frame-pointer)
It sometimes creates more speed optimal code than the other optimization
flags.
Tom M.
_________________________________________________________________
Dont just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] Re: QEMU fails with different levels of compiler optimizati
2004-07-28 16:36 [Qemu-devel] Re: QEMU fails with different levels of compiler optimizati Tom Musgrove
@ 2004-07-29 20:01 ` André Braga
0 siblings, 0 replies; 2+ messages in thread
From: André Braga @ 2004-07-29 20:01 UTC (permalink / raw)
To: qemu-devel
Uh... Not yet, but you have a point: it makes it more likely that the
critical code will fit the cache. I did not enable
-fomit-frame-pointer because it makes debugging a *pain in the rear*,
and sometimes I run QEMU under GDB just to see if I can narrow the
problem down to some specific part of the code. And so far it seems
that the mingw runtime breaks something with the Windows timing
functions if I run higher levels of optimization. I'm yet to try it
under Linux.
On Wed, 28 Jul 2004 16:36:38 +0000, Tom Musgrove
<tommusgrove__@hotmail.com> wrote:
> Have you tried to optimize for size instead?
>
> Ie -Os (and also -fomit-frame-pointer)
>
> It sometimes creates more speed optimal code than the other optimization
> flags.
>
--
"A year spent in artificial intelligence is enough to make one believe in God"
Alan J. Perlis
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-07-29 20:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-28 16:36 [Qemu-devel] Re: QEMU fails with different levels of compiler optimizati Tom Musgrove
2004-07-29 20:01 ` André Braga
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).