On Thursday 23 November 2006 12:58, Jan Jitse Venselaar wrote:

> ... have you benchmarked in any way the effect of all these
> optimizations on the programs you run? You basically do -Os and then turn
> almost everything on which differs -O2 from -Os, negating the size
> difference, plus some extra very experimental flags, which might increase
> or decrease performance (sorry, but GCC works that way, extra
> optimizations could actually be pessimizations), and probably break some
> programs. 

You may have seen some discussion of compiler optimisations on this list, in 
which a set of flags have been offered and some people have played with 
them. I thought I'd have a go, and was reporting what I'd found. In light 
of what you say, I think I'll just go back to a simple set of flags 
(-march=k8 -Os -pipe) and leave it at that. And no, I hadn't noticed any 
performance improvement with all those flags - another good reason for 
reverting. Better, probably. Thanks for the advice.

-- 
Rgds
Peter
-- 
[email protected] mailing list

Reply via email to