Mail Archives: pgcc/1999/03/02/17:31:01
At 15:58 2/03/99 +0300, you wrote:
>make CFLAGS="-Os -fomit-frame-pointer -mpentiumpro -march=pentiumpro
>-fno-exceptions -malign-loops=2 -malign-jumps=2 -malign-functions=2"
The -Os parameter optimizes for size.
When you compile it with -O6 it will generate speed-optimized code
and it will probably be about 30% faster.
>I send you this fancy executable as attachment and really want to know
>how can this be, why we loose 5% of speed in the 2.9.x gcc code using
>all optimizations invented during past 4 years?
>
Hmm... compare the file sizes and see. Egcs with -Os option should
get you a smaller file. After all, that is what you're optimizing for.
I have to say I didn't really check wheter this is really true but
the -Os parameter is really there for size and not for speed, and
since the difference was only 5%...
Also, please think twice before including long attachements.
I find it TERRIBLY RUDE to include a big and mostly useless attachement
and then simply state "I'm not on the list myself"
Greetings,
Gian-Carlo
- Raw text -