Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: "Stas" <stas@peterstar.com>
Subject: Comapq C++ optimizer weakness
Date: Wed, 30 May 2001 01:30:51 +0400	[thread overview]
Message-ID: <5l41f9.m3v.ln@bizon.peterstar.com> (raw)

    Hi!

Today I am install gcc 2.95.3 package on my alphastation and
run g++ compiler benchmark ftp://ftp.kai.com/pub/benchmarks/stepanov_v1p2.C
Then I am compile this benchmark with compaq C++ and get following results.
Description of tests available in the source file.

Config:
 Digital AlphaStation 500/400 256M
 Firmware revision: 7.2
 PALcode: UNIX version 1.22
 Compaq Tru64 UNIX V5.1 (Rev. 732)

g++:
 gcc version 2.95.3 20010315 (release)
 compile command: g++ -O2 -o stepanov.GCC stepanov_v1p2.C
 ./stepanov.GCC
test      absolute   additions      ratio with
number    time       per second     test0

 0        0.65sec    76.93M         1.00
 1        0.78sec    63.83M         1.21
 2        0.78sec    63.83M         1.21
 3        0.80sec    62.50M         1.23
 4        0.78sec    63.83M         1.21
 5        0.78sec    63.83M         1.21
 6        0.78sec    63.83M         1.21
 7        0.78sec    63.83M         1.21
 8        0.78sec    63.83M         1.21
 9        0.78sec    63.83M         1.21
10        0.78sec    63.83M         1.21
11        0.78sec    63.83M         1.21
12        0.78sec    63.83M         1.21
mean:     0.77sec    64.65M         1.19

Total absolute time: 10.07 sec

Abstraction Penalty: 1.19


cxx:
 Compaq C++ V6.3-010 for Compaq Tru64 UNIX V5.1 (Rev. 732)
 Compiler Driver V6.3-010 (cxx) cxx Driver
 compile command: cxx -o stepanov.Q -O4 -fast stepanov_v1p2.C -lm
 ./stepanov.Q
test      absolute   additions      ratio with
number    time       per second     test0

 0        0.25sec    200.01M         1.00
 1        0.35sec    142.86M         1.40
 2        0.97sec    51.73M         3.87
 3        0.82sec    61.23M         3.27
 4        2.02sec    24.79M         8.07
 5        0.83sec    60.00M         3.33
 6        2.10sec    23.81M         8.40
 7        0.83sec    60.00M         3.33
 8        2.08sec    24.00M         8.33
 9        0.83sec    60.00M         3.33
10        2.05sec    24.39M         8.20
11        0.82sec    61.23M         3.27
12        2.08sec    24.00M         8.33
mean:     1.02sec    49.21M         4.06

Total absolute time: 16.03 sec

Abstraction Penalty: 4.06




             reply	other threads:[~2001-05-29 21:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-29 21:30 Stas [this message]
2001-05-30  7:47 ` Comapq C++ optimizer weakness Tobias Ernst
2001-05-31 21:53 ` Compaq " Jeff Sullivan
2001-05-31 21:57   ` Jeff Sullivan
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