GNU cc vs cc

Stuart Levy slevy at poincare.geom.umn.edu
Thu Nov 29 04:45:45 AEST 1990


In article <363 at brchh104.bnr.ca> HORN%HYDRA at sdi.polaroid.com writes:
>I recently conducted a more realistic test of the compilers and found gcc
>version 1.37.1 significantly faster than Sun cc from 4.0.3 on a SS1.  The
>test was TeX compiled gcc -O -finline... -fstrength... versus cc -O4. ...
>  Drhystones are often misleading.

You have to be careful about what is realistic though... Trying some
homebrew DES-encryption code with cc -O4 vs. gcc 1.37.1, on a Sparcstation
under both 4.0.3 and 4.1, Sun cc won each time by about 10% on both of two
DES-related operations.  TeX is certainly much bigger, but both are "real"
applications.

    Stuart Levy, Geometry Group, University of Minnesota
    slevy at geom.umn.edu



More information about the Comp.sys.sun mailing list