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 12:07:37 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!uio.no!news.kth.se!not-for-mail From: mru@users.sourceforge.net (=?iso-8859-1?q?M=E5ns_Rullg=E5rd?=) Newsgroups: comp.os.linux.alpha Subject: Re: Thanks for the prompt answer Date: 23 Mar 2003 20:48:59 +0100 Sender: mru@zaphod.guide Message-ID: References: <87of42qpk7.fsf@student.uni-tuebingen.de> <7gjfa.35278$ZW4.879062@twister.rdc-kc.rr.com> NNTP-Posting-Host: asynk35.modempool.kth.se Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Portable Code) Xref: archiver1.google.com comp.os.linux.alpha:7394 " 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