From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,8db5efff7c936b57 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-07-03 00:30:23 PST Mime-Version: 1.0 X-Newsreader: knews 1.0b.0 References: <3d21da59$0$8172$ba620e4c@news.skynet.be> From: schweng@astro.unibas.ch (Hans Schwengeler) Subject: Re: gcc versus compaq compiler performance Newsgroups: comp.unix.tru64 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: saturn.astro.unibas.ch Message-ID: <3d22a80e$1@maser.urz.unibas.ch> Date: 3 Jul 2002 09:30:22 +0100 X-Trace: 3 Jul 2002 09:30:22 +0100, saturn.astro.unibas.ch Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.mailgate.org!news-zh.switch.ch!maser.urz.unibas.ch!saturn.astro.unibas.ch Xref: archiver1.google.com comp.unix.tru64:8049 In article , Paul Pluzhnikov writes: > "mitusra" writes: > >> does anybody have any experience with the same program compiled with GNU gcc >> and the Compaq compiler? > > I have a friend who is running some numerical simulations > (Fortran) on Alpha/Linux. He got a 100% speedup *on his code* > by recompiling with Compaq's f77 instead of g77 ... > > The results you'll get will depend on your code. > > Are you even getting close to a 100% CPU, and close to > a 100% user time? Little point in recompiling I/O-bound > program(s) ;-) > > Cheers, Hello, well, generally I get speed improvements of 300% to 1000% (!) with cc over gcc (2.95.2 or 3.0). I think I never encountered a program which ran faster with gcc. It is true though that many programs cannot be compiled with cc easily, sometimes gcc seems to be required. Yours, Hans. -- =============================================================================== Hans Schwengeler Astronomical Institute INTERNET: schweng@astro.unibas.ch University of Basel Hans.Schwengeler@unibas.ch Venusstrasse 7 CH-4102 Binningen PHONE: +41 61 20 55 422 Switzerland FAX: +41 61 20 55 455 ===============================================================================