From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Thu, 21 Jan 1999 08:25:33 +0100 (MET) From: Piotr A Dybczynski Subject: Re: Performance Comparison of Compilers In-Reply-To: The list is alive! Great! On Wed, 20 Jan 1999, Dr J Pelan wrote: > At the moment it seems, at least to me, particularly difficult to pin down > exactly how good or bad the free compilers (egcs/gcc) are against the DEC > compilers unless one actually has access to the various machines. One can > glean snippets here and there (from Dejanews say) but it isn't always > clear what was done and the comparisons are but for a single program. As a novice in the alphalinux world, I must say that it is really difficult for the begginer to obtain a valuable information, specyfying the differences between several compilers and their relative power. We bought at the Observatory our first alpha station (based on the Microway PC164LX board (21164A/533MHz, 512 MB RAM) planning to use in under Linux. We hawe a lot of experience with i386 Linux machines so we hoped it will be easy to switch to alpha. After a month of reading and experimenting, I still don't know how good is egcs when compiling for alpha (-m21164a). I read hundrets of pages on alpha architecture, on optimizing for alpha , on NDP optimizing compilers etc. Finally I came to the conclusion, that Microway NDP Fortran seems to be the only tool, dedicated for this processor. They say in Microway, that they do not ofer a C compiler for alphalinux becouse egcs is preety good but from my investigations it seems that the best way is to produce .o files with egcs and then let NDP optimize it for particular architecture. All above is a theoretical result, I am serching for arguments whether to buy NDP Fortran compiler from Microway or not. My work will be in C, so I will not use their product as a whole. Any comments from experienced users? > What I would like to see established is an ongoing comparison of the > compilers using some agreed 'trivial' or real world benchmarks in C and > Fortran. I'm thinking of something along the lines of running say five > programs in the following combinations on the same architecture; > > o Digital Unix & DEC C (Fortran) > o Digital Unix & egcs (g77) > o Linux & egcs (g77) with compiled libraries > o Linux & egcs (g77) with hand-coded libraries The above should be extended to NDP compilers! > I'd do this myself if I had access to such machines but I don't (at least > not yet) but perhaps the list members could provide suitable programs and > patch the information together ? It might be very helpful and informative both for beginers and experienced users. Please accept me as a volunteer for any tests on my AlphaLinux machine (21164A/533MHz/512MB RAM/no graphics/3,4 GB SCSI HD). I have some experience in Fortran (IBM360 etc) but strongly prefer to work in C. > I'm sure some people must be already be performing tests of this kind. I am not ready but I hope to be in a week or two. Greetings to all of you, Piotr PS. Sorry for my poor english.... /*****************************************************************************  Piotr A. Dybczynski e-mail: dybol@amu.edu.pl             Astronomical Observatory, A.Mickiewicz University  tel +48(61)8679670, fax:+48(61)8686511, Sloneczna 36, 60-286 Poznan, POLAND **********************************************************************PAD***/