Mail Archives: djgpp-workers/2000/03/19/04:51:06
On Fri, 17 Mar 2000, Javier Bardal Prieto wrote:
> The compiler options are:
>
> gcc -O9 -fomit-frame-pointer -funroll-loops -m386 -mcpu=i386 -march=i386
> -ffast-math bench.c -obench
Doesn't this disable some Pentium-specific optimizations related to
scheduling instructions for simultaneous execution?
What about alignment: do architecture-specific switches affect
code/data/stack alignment?
Also, what version of GCC and Binutils did you use?
> DO NOT CHANGE IT!!!!
> gcc generates highly optimized code with this settings, and changing it
> to a specific processor model only has 2% of speed up. So for a uniform
> testing I recommend to do not change it.
If the effect of changing the optimization options is so minimal, why
do you worry so much about people playing with them? OTOH, if some of
the options have a significant effect on the speed, perhaps we need to
know about them?
> I have problems posting the benchmark source, bench.c is 17kb and djgpp
> mail-list seems to reject it.
Not because of size.
> begin 644 bench.zip
Ouch, why not plain text?..
- Raw text -