From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,26164e7576ec555 X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2003-03-23 06:10:36 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.cwix.com!news-east.rr.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> Subject: 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: <7gjfa.35278$ZW4.879062@twister.rdc-kc.rr.com> Date: Sun, 23 Mar 2003 14:11:15 GMT NNTP-Posting-Host: 65.28.67.104 X-Complaints-To: abuse@rr.com X-Trace: twister.rdc-kc.rr.com 1048428675 65.28.67.104 (Sun, 23 Mar 2003 08:11:15 CST) NNTP-Posting-Date: Sun, 23 Mar 2003 08:11:15 CST Xref: archiver1.google.com comp.os.linux.alpha:7393 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 Didn't generate a single error or warning [;-) Oh, thanks for the script, that will come in handy, not only on the alpha but other linux boxes as well. Again, thank you... Will L G "Falk Hueffner" wrote in message news:87of42qpk7.fsf@student.uni-tuebingen.de... > " DiskMan" writes: > > > I was wondering, whats the MAXIMUM optimization can I get with GCC > > running on a Dec AlphaPC 164SX? > > > > This is what I'm currently running: > > CC="gcc" CFLAGS="-O3" CPPFLAGS="-O3 -I/usr/local/include/" ./configure > > > > I was wondering, can I optimize SPECIFICALLY for the CPU using a > > switch suchs mpentium? If so, what is it? > > Yes, -mcpu=pca56. Try also the script at > http://people.debian.org/~falk/gcc-arch, it will tell you this for > some architectures, including Alpha. > > -- > Falk