This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: -O4 needed


> 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).
___________________________________________________________________


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]