From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,4c4e1add3e6e1767 X-Google-Attributes: gid111c93,public From: Jeff Lessem Subject: Re: Official Digital/Compaq Support for Linux Date: 1998/07/09 Message-ID: #1/1 X-Deja-AN: 369955130 Sender: lessem@foo.Colorado.EDU References: <359c2adf.71443690@usenet.pa.dec.com> <35A3DFD2.830C136D@west.net> <6o1nuj$u4k@ilfb03.tuwien.ac.at> <6o2hak$44d$1@sparcserver.lrz-muenchen.de> Organization: University of Colorado at Boulder NNTP-Posting-User: lessem Newsgroups: comp.os.linux.alpha henke@rocza.krall.org (Douglas G. Henke) writes: > Can anyone point me at similar comparisons (i.e. actual measurements) > involving gcc vs. the DU C compiler (and/or other C compilers on Alpha)? > I'd be especially interested in times for problems involving no > floating point, and/or egc-1.0.3mumble with the HAIFA scheduler turned > on. If you can point me towards some easy to compile code, I would not mind building it up with DU C and gcc and comparing the results. In my own experience, I have found that for C programs some things are faster with DU C, some things are faster with egcs/gcc, and some things are the same with either compiler. I suppose this also has to do with libm and libc issues. Some programs might also be bound by cache and memory issues, so as long as the compiler and libraries can hit the ceiling rate, they all will be the same speed. Here are the results of the BYTEmark benchmark with three different compilers: BYTEmark* Native Mode Benchmark ver. 2 (10/95) Index-split by Andrew D. Balsa (11/97) Linux/Unix* port by Uwe F. Mayer (12/96,11/97) Iterations/sec. TEST : gcc : DU C : egcs HAIFA : 2.7.2.3 : (cc.alt) : 1.0.3a --------------------:-------------:-------------:------------ NUMERIC SORT : 157.99 : 171.2 : 162.84 STRING SORT : 17.461 : 17.977 : 18.158 BITFIELD : 5.7397e+07 : 6.1158e+07 : 5.7238e+07 FP EMULATION : 12.619 : 18.602 : 20.655 FOURIER : 1711.6 : 11171 : 1694.3 ASSIGNMENT : 1.5839 : 1.6188 : 1.9614 IDEA : 513.25 : 579.78 : 627.48 HUFFMAN : 228.39 : 311.5 : 276.61 NEURAL NET : 2.318 : 5.026 : 2.5567 LU DECOMPOSITION : 87.454 : 135.19 : 88.779 ==========================ORIGINAL BYTEMARK RESULTS========================== gcc 2.7.2.3 CFLAGS=-O6 -Wa,-m21164a -static MEMORY INDEX : 1.572 INTEGER INDEX : 1.721 FLOATING-POINT INDEX: 1.776 cc.alt (cc) Driver 3.11 DEC C V5.4-045 on Digital UNIX V4.0 (Rev. 564) CFLAGS=-non_shared -fast -om -tune ev56 -arch pca56 MEMORY INDEX : 1.633 INTEGER INDEX : 2.155 FLOATING-POINT INDEX: 4.967 egcs-2.90.29 980515 (egcs-1.0.3 release) with HAIFA CFLAGS=-O6 -mcpu=21164a -Wa,-m21164a -static -funroll-loops MEMORY INDEX : 1.708 INTEGER INDEX : 2.163 FLOATING-POINT INDEX: 1.838 Platform: Digital AlphaPC 164SX 533 MHz 384MB Linux 2.1.106 RedHat 5.0 -- Jeff Lessem.