From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 111c93,26164e7576ec555 X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2003-03-23 16:45:11 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed-west.nntpserver.com!hub1.meganetnews.com!nntpserver.com!news-west.rr.com!cyclone.kc.rr.com!cyclone2.kc.rr.com!news2.kc.rr.com!twister.rdc-kc.rr.com.POSTED!53ab2750!not-for-mail From: " DiskMan" Newsgroups: comp.os.linux.alpha References: <87of42qpk7.fsf@student.uni-tuebingen.de> <7gjfa.35278$ZW4.879062@twister.rdc-kc.rr.com> Subject: Re: Thanks for the prompt answer X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1123 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1123 Message-ID: Date: Mon, 24 Mar 2003 00:44:02 GMT NNTP-Posting-Host: 65.28.67.104 X-Complaints-To: abuse@rr.com X-Trace: twister.rdc-kc.rr.com 1048466642 65.28.67.104 (Sun, 23 Mar 2003 18:44:02 CST) NNTP-Posting-Date: Sun, 23 Mar 2003 18:44:02 CST Organization: RoadRunner Xref: archiver1.google.com comp.os.linux.alpha:7395 I was wondeing gcc stated that "-07" was fine but when I timed several programs, I noticed it was the same speed as with "-03"... I thought Compaq's compiler was an optimized version of GCC??? "M�ns Rullg�rd" wrote in message news:yw1xn0jlamok.fsf@zaphod.guide... > " DiskMan" writes: > > > I've been messing around with this for the last day or so after I noticed, > > after compiling a program, the optimized version ran NOTICABLY faster... > > About 20% or so. I didn't think optimizing would make that much of a > > difference... Now I'm hooked, I'm going for the max. Right now I was > > recomiling Samba with the following: > > > > CC="gcc" CFLAGS="-g -O7 -pca56" CPPFLAGS="-O7 -I/usr/local/include/" > > ./configure > > At least on Alpha, -O3 is the highest level of optimization. A higher > number is equivalent to 3. > > If you want the fastest code, you should use compaq's compiler, if it > can compile the code, i.e. it doesn't rely on strange gcc extensions. > > -- > M�ns Rullg�rd > mru@users.sf.net