FSF-GCC-2.7.2 vs EGCS-GCC-971008 on Ultra (more info)

Fred Richardson frichard@bbn.com
Tue Oct 14 14:47:00 GMT 1997


Hi-

Here's a brief update on my previous email.

I've built and installed EGCS-971008 with the following flags:
    --enable-haifa=yes --with-gnu-as --with-gnu-ld --with-stabs
on a Model 170 UltraSPARC running Solaris 2.5

I compiled a program with the following flags:

        -mcpu=ultrasparc -funsigned-char -fno-exceptions -O6
            -finline-functions -ffast-math -fomit-frame-pointer
                -funroll-loops  

The speed of the program (which does a lot of floating point) was
about the same as when I compiling it with FSF-GCC-2.7.2 and these
flags: 

        -O3 -finline-functions -ffast-math -fomit-frame-pointer
            -funroll-loops 

I haven't re-run this test with the SUNW cc yet.  I don't know if this
gives anyone any useful information, but I thought I'd provide it
nonetheless. 

                -Fred



More information about the Gcc mailing list