Debug formats on Linux
Richard Zidlicky
Richard.Zidlicky@stud.informatik.uni-erlangen.de
Sun Nov 5 04:08:00 GMT 2000
On Fri, Nov 03, 2000 at 08:50:56AM +0100, jfm2@club-internet.fr wrote:
[..snip..]
>
> According to doc -finline-function does not inline everything only
> small functions. But I agree about -O3 being a double edged sword
> duie to code size increase.
sure, I never use -O3 for my own programs - it is much better to use
the inline keyword where apropriate and -funroll-loops where it helps.
> I was using the byte benchamrk. I also noticed thazt on some tests
> cpu=pentiumpro was faster than arch=pentiumpro, and on the FP
> emulation test cpu=i386 beats cpu=i686 or arch=i686 by around 20%.
> This suggests that there is something wrong with the 2.95 optimizer.
benchmarks aren't good for my purposes, they test the optimizer on
"average" code. Very often the most performance critical code will
be already programmed for speed so it has little common with average
code.
Mostly I found march=chip produce faster but often bigger code.
Bye
Richard
More information about the Gcc
mailing list