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-Thread: 103376,7767a311e01e1cd X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Sat, 21 Oct 2006 09:37:41 +0200 From: Gautier User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: GNAT compiler switches and optimization References: <1161341264.471057.252750@h48g2000cwc.googlegroups.com> <9Qb_g.111857$aJ.65708@attbi_s21> <434o04-7g7.ln1@newserver.thecreems.com> In-Reply-To: <434o04-7g7.ln1@newserver.thecreems.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 85.0.215.198 X-Original-NNTP-Posting-Host: 85.0.215.198 Message-ID: <4539ce34$1_2@news.bluewin.ch> X-Trace: news.bluewin.ch 1161416244 85.0.215.198 (21 Oct 2006 09:37:24 +0200) Organization: Bluewin AG Complaints-To: abuse@bluewin.ch X-Original-NNTP-Posting-Host: 127.0.0.1 Path: g2news2.google.com!news3.google.com!news.glorb.com!wns13feed!worldnet.att.net!164.128.36.58!news.ip-plus.net!newsfeed.ip-plus.net!news.bluewin.ch!not-for-mail Xref: g2news2.google.com comp.lang.ada:7106 Date: 2006-10-21T09:37:41+02:00 List-Id: Jeffrey Creem: > Note, I am the first one to jump to the defense of "Ada" in general but > in this case, GNAT just plain sucks compared to GNU FORTRAN as it does a > poor job on (at least) the inner loop (verified by looking at the output > assembly) There is something strange... Martin Krischik was able to trim the overall time for the Ada code down to 24% of the first version (GNAT/GCC 4.1.1). This should make the Ada program as fast as the FORTRAN one, shouldn't it ? Maybe it's because the test is done on a 64 bit machine ? It needs some reconciliation... A good thing in that discussion would be that everybody shows each time - which GCC version - which machine - the execution time of the multiplication for both Ada and Fortran - which version of the Ada code (matrix on stack/heap, Fortran or Ada convention) Cheers, Gautier ______________________________________________________________ Ada programming -- http://www.mysunrise.ch/users/gdm/gsoft.htm NB: For a direct answer, e-mail address on the Web site!