Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: bbmarkz <bbmarkz-NOSPAM@_netscape.net>
Subject: Re: compaq cc / c++ or gcc?
Date: Mon, 14 Jan 2002 05:30:58 GMT	[thread overview]
Message-ID: <3C426D27.2010201@_netscape.net> (raw)
In-Reply-To: QmUH3mTgPXQ8EwYV@wookie.demon.co.uk

Here's gcc-2.96 and Compaq CC 6.4.9 using nbench found here: 
http://www.tux.org/~mayer/linux/bmark.html.

Summary
	Memory	Integer	Floating
gcc 
0.861 
0.711 
1.017
ccc 
0.761 
0.783 
2.021

(I did not put much effort into this...And I know that posting 
benchmarks is like playing with matches.)

Detail:

Machine: Alphastation 250 4/266
OS: Redhat Linux for Alpha 7.1
gcc --version: 2.96

gcc
CFLAGS = -s -static -Wall -O3 -fomit-frame-pointer -funroll-loops

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)

TEST                : Iterations/sec.  : Old Index   : New Index
                     :                  : Pentium 90* : AMD K6/233*
--------------------:------------------:-------------:------------
NUMERIC SORT        :          86.205  :       2.21  :       0.73
STRING SORT         :          11.429  :       5.11  :       0.79
BITFIELD            :      2.3537e+07  :       4.04  :       0.84
FP EMULATION        :           5.394  :       2.59  :       0.60
FOURIER             :          732.74  :       0.83  :       0.47
ASSIGNMENT          :         0.97129  :       3.70  :       0.96
IDEA                :          164.14  :       2.51  :       0.75
HUFFMAN             :          89.247  :       2.47  :       0.79
NEURAL NET          :          1.6447  :       2.64  :       1.11
LU DECOMPOSITION    :          54.136  :       2.80  :       2.03
==========================ORIGINAL BYTEMARK RESULTS=====================
INTEGER INDEX       : 3.093
FLOATING-POINT INDEX: 1.835
Baseline (MSDOS*)   : Pentium* 90, 256 KB L2-cache, Watcom* compiler 10.0
==============================LINUX DATA BELOW==========================
C compiler          : gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-87)
libc                : unknown version
MEMORY INDEX        : 0.861
INTEGER INDEX       : 0.711
FLOATING-POINT INDEX: 1.017
Baseline (LINUX)    : AMD K6/233*, 512 KB L2-cache, gcc 2.7.2.3, libc-5.4.38
* Trademarks are property of their respective holder.

ccc
CFLAGS = -tune host -arch host -fast

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)

TEST                : Iterations/sec.  : Old Index   : New Index
                     :                  : Pentium 90* : AMD K6/233*
--------------------:------------------:-------------:------------
NUMERIC SORT        :           82.34  :       2.11  :       0.69
STRING SORT         :          10.108  :       4.52  :       0.70
BITFIELD            :      2.0414e+07  :       3.50  :       0.73
FP EMULATION        :           6.913  :       3.32  :       0.77
FOURIER             :          3965.1  :       4.51  :       2.53
ASSIGNMENT          :         0.87238  :       3.32  :       0.86
IDEA                :          154.73  :       2.37  :       0.70
HUFFMAN             :          113.97  :       3.16  :       1.01
NEURAL NET          :          2.4386  :       3.92  :       1.65
LU DECOMPOSITION    :          52.858  :       2.74  :       1.98
==========================ORIGINAL BYTEMARK RESULTS=====================
INTEGER INDEX       : 3.100
FLOATING-POINT INDEX: 3.644
Baseline (MSDOS*)   : Pentium* 90, 256 KB L2-cache, Watcom* compiler 10.0
==============================LINUX DATA BELOW==========================
C compiler          : ccc (unknown version)
libc                : unknown version
MEMORY INDEX        : 0.761
INTEGER INDEX       : 0.783
FLOATING-POINT INDEX: 2.021
Baseline (LINUX)    : AMD K6/233*, 512 KB L2-cache, gcc 2.7.2.3, libc-5.4.38
* Trademarks are property of their respective holder.


John Beardmore wrote:

> In article <a1qaf2$idr$1@morpheus.creative-chaos.de>, Michael Schulz 
> <mschulz@creative-chaos.com> writes
> 
>> bbmarkz <bbmarkz-NOSPAM@mapsonnetscape.net> wrote in 
>> <3C40A2BF.9080805@MAPSONnetscape.net> following:
>>
>>> My understanding from the Tru64 side is that Compaq C/C++ produce much
>>> faster code than gcc on Tru64....Perhaps someone can comment.
>>
>> This is the reason why we contributed the c and c++ compilers to linux 
>> :) Performance.
> 
> 
> Yes, but how much more performance ?
> 
> Are there any benchmarks out there ?  I understood that gcc 3 would be a 
> lot better than gcc2, but ideally I'd like to benchmarks of gcc 2, gcc3 
> and the compaq compiler.
> 
> 
> Cheers, J/.



  reply	other threads:[~2002-01-14  5:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-12 17:28 compaq cc / c++ or gcc? bbmarkz
2002-01-12 17:52 ` John Beardmore
2002-01-12 20:54   ` bbmarkz
2002-01-12 21:39     ` Michael Schulz
2002-01-13 11:47       ` John Beardmore
2002-01-14  5:30         ` bbmarkz [this message]
2002-01-14 16:36           ` Falk Hueffner
2002-01-15 13:46             ` Kenneth Block
2002-01-13 10:12 ` Juhana Paavola
2002-01-13 23:42 ` Peter Mardahl
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox