-O4 needed
Jakub Jelinek
jj@sunsite.ms.mff.cuni.cz
Sat Sep 12 04:57:00 GMT 1998
> 100000 elements
> cc -fast -xO5: 195 ms
> gcc -O3 -fstrength-reduce -fthread-jumps -fcse-follow-jumps
> -fcse-skip-blocks -frerun-cse-after-loop -frerun-loop-opt -fgcse
> -fexpensive-optimizations -fregmove -fschedule-insns -fschedule-insns2
> -ffunction-sections -fcaller-saves -funroll-loops -fmove-all-movables
> -freduce-all-givs -fstrict-aliasing
> : 202 ms
If you want to compare with SunPRO, you'd better use latest CVS egcs, and
pass it gcc -O3 -fstrict-aliasing -mtune=ultrasparc -mvis -mv8plus
as the new SPARC backend is much better than the old one. Sibcall
optimization could help here a lot as well.
Cheers,
Jakub
___________________________________________________________________
Jakub Jelinek | jj@sunsite.mff.cuni.cz | http://sunsite.mff.cuni.cz
Administrator of SunSITE Czech Republic, MFF, Charles University
___________________________________________________________________
Ultralinux - first 64bit OS to take full power of the UltraSparc
Linux version 2.1.120 on a sparc64 machine (498.80 BogoMips).
___________________________________________________________________
More information about the Gcc
mailing list