gcc optimizations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I thought folks might be interested in this.  I compiled whetstone.c
with the FC2 gcc and gcc34 to compare the two.  I used identical compile
statements except for the compiler invoked.

gcc -O3 -funroll-loops -malign-double whetstone.c -lm -o whets

Then called with:

./whets 50000

The results:

gcc	833.3 mips

gcc34	1250 mips

Quite a difference.  

Jerry



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux