I won't argue the -Ox stuff, but I don't suppose you had a conversation
with Zack Winberg about why in moving from gcc-2.95 to gcc-3 they
deprecated '-mpentiumpro'? Also, the manpage lists -march=pentiumpro
and -mcpu=pentiumpro as aliases, but whenever I've spoken to anyone
there always seems to be a distinct favortism toward -march... are they
not truly the same? If memory serves me correctly at one point in time,
they were different... are they still but to a lesser degree, or are
they really the same now?
-James
Michael Jennings ([EMAIL PROTECTED]) wrote:
> On Friday, 10 January 2003, at 10:05:51 (+1100),
> Carsten Haitzler wrote:
>
> > > make CFLAGS="-O9"
> > >
> > > I simply guessed the flags so I do not know if they are
> > > correct. raster any ideas?
> >
> > thats about right. i have pentium/ppro flags too but i dont know if
> > gcc supports ppc specific flags, and if so exactly what they are :)
> > but that's about right.
>
> I just had this discussion with Zack Weinberg at the New Year's party
> I went to. He agreed with me that the best general-purpose CFLAGS to
> use is "-O2 -march=pentiumpro" (or whatever arch you choose), and even
> the latter part of that didn't make more than maybe a 5% difference.
>
> -O9 is ridiculous. Nothing over -O3 actually means anything, and even
> -O3 tends to be a bad idea. He referred to -O3 as "turning on all the
> optimizations that probably shouldn't even be part of the optimizer."
>
> It's also worth noting that omitting the frame pointer does give you a
> boost but makes debugging essentially impossible, at least with gdb.
>
> Michael
>
> --
> Michael Jennings (a.k.a. KainX) http://www.kainx.org/ <[EMAIL PROTECTED]>
> n+1, Inc., http://www.nplus1.net/ Author, Eterm (www.eterm.org)
> -----------------------------------------------------------------------
> "I like things that go woosh when my PC goes bleep." -- Tom Gilbert
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> http://www.vasoftware.com
> _______________________________________________
> enlightenment-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel