From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,d5d5f3072adbb376,start X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-05-29 15:00:07 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeed.gamma.ru!Gamma.RU!news1.spb.su!news.wplus.spb.ru!bizon.peterstar.com!nobody From: "Stas" Newsgroups: comp.unix.tru64 Subject: Comapq C++ optimizer weakness Date: Wed, 30 May 2001 01:30:51 +0400 Organization: WEBPlus Ltd. Message-ID: <5l41f9.m3v.ln@bizon.peterstar.com> NNTP-Posting-Host: 194.8.162.10 Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit X-Trace: news.wplus.spb.ru 991173602 21786 194.8.162.10 (29 May 2001 22:00:02 GMT) X-Complaints-To: usenet@news.wplus.spb.ru NNTP-Posting-Date: 29 May 2001 22:00:02 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Xref: archiver1.google.com comp.unix.tru64:2341 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