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

gcc optimizations



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



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