From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,264e99b4511736eb X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-05-27 09:22:32 PST Path: gmd.de!nntp.gmd.de!xlink.net!sol.ctr.columbia.edu!news.kei.com!MathWorks.Com!europa.eng.gtefsd.com!library.ucla.edu!agate!boulder!csnews!news!grunwald From: grunwald@foobar.cs.colorado.edu (Dirk Grunwald) Newsgroups: comp.unix.osf.osf1 Subject: Re: simple command-line optimizations I can use? Date: 27 May 1994 15:35:41 GMT Organization: University of Colorado at Boulder Message-ID: References: <2rqqoqINNcsn@twain.ucs.umass.edu> <2rqv4s$r2k@jac.zko.dec.com> Reply-To: grunwald@foobar.cs.colorado.edu NNTP-Posting-Host: foobar.cs.colorado.edu In-reply-to: dbritch@descartes.super.org's message of Thu, 26 May 1994 04:03:07 GMT >>>>> "DBR" == David B Ritch writes: In article dbritch@descartes.super.org (David B. Ritch) writes: DBR> For C code, you might want to try "gcc -O2". ;-) DBR> For most of my applications, GNU C has produced faster executables. --- I haven't found this to be the case on the Alpha machines. I've found that the `cc -migrate' compiler (GEM backend) produces the fastest code, particularly with -O4, but that it's very ANSI-picky and a lot of my code won't compile with it, where as it will compile with `cc -std'. I use `cc' for almost everything else. There appears to be a sizable improvement in compiler performance from OSF/1 V1.2 to OSF/1 V2.0.