From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,38fc011071df5a27 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-10 14:16:14 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!news.tele.dk!news.tele.dk!small.news.tele.dk!uninett.no!news.powertech.no!newsfeed1.e.nsc.no!nsc.no!nextra.com!news2.e.nsc.no.POSTED!53ab2750!not-for-mail Newsgroups: comp.lang.ada Subject: Re: Ideas for Ada 200X References: <1055177817.528719@master.nyc.kbcfp.com> <1055277191.38385@master.nyc.kbcfp.com> From: Ole Kristensen Message-ID: Organization: Linux Private Site User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: 148.122.15.75 X-Complaints-To: news-abuse@telenor.net NNTP-Posting-Date: Tue, 10 Jun 2003 23:16:13 MEST X-Trace: news2.ulv.nextra.no 1055279773 148.122.15.75 Date: 10 Jun 2003 23:17:23 +0200 Xref: archiver1.google.com comp.lang.ada:38936 Date: 2003-06-10T23:17:23+02:00 List-Id: Hyman Rosen writes: > tmoran@acm.org wrote: > > how fast do they execute 10**7 times on 3x3 matrices of zeros? > > Here's the fastest I've gotten so far. > Program output (times are in seconds): > + 8 > += 5 > Compiler options: > g++ -finline-limit=1000 -O3 -funroll-loops > Compiler version: > g++.5.8 (GCC) 3.2.2 > uname -a: > SunOS 5.8 Generic_108528-15 sun4u sparc SUNW,Sun-Fire-880 Same compiler, old 266MHz PII: ole@linux:~> g++ -O3 -finline-limit=1000 -O3 -funroll-loops -o hyman hyman.cc ole@linux:~> time ./hyman + 24 += 10 real 0m34.650s user 0m27.250s sys 0m0.010s