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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,7767a311e01e1cd X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!b28g2000cwb.googlegroups.com!not-for-mail From: "Alinabi" Newsgroups: comp.lang.ada Subject: Re: GNAT compiler switches and optimization Date: 23 Oct 2006 09:32:24 -0700 Organization: http://groups.google.com Message-ID: <1161621144.519109.317080@b28g2000cwb.googlegroups.com> References: <1161341264.471057.252750@h48g2000cwc.googlegroups.com> <9Qb_g.111857$aJ.65708@attbi_s21> <434o04-7g7.ln1@newserver.thecreems.com> <4539ce34$1_2@news.bluewin.ch> <453A532F.2070709@obry.net> <9kfq04-sgm.ln1@newserver.thecreems.com> <1161525012.997046.264780@k70g2000cwa.googlegroups.com> <1161561733.272140.281830@b28g2000cwb.googlegroups.com> <453c52ef_5@news.bluewin.ch> NNTP-Posting-Host: 128.143.156.208 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1161621150 28720 127.0.0.1 (23 Oct 2006 16:32:30 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 23 Oct 2006 16:32:30 +0000 (UTC) User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060921 Ubuntu/dapper-security Firefox/1.5.0.7,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: b28g2000cwb.googlegroups.com; posting-host=128.143.156.208; posting-account=gD74RA0AAABm9rsBG7oeOmJ-iO5c3KUQ Xref: g2news2.google.com comp.lang.ada:7167 Date: 2006-10-23T09:32:24-07:00 List-Id: I did, and it made no difference. I think no loop unrolling is done in the part of the code which is being timed, as the number of iterations is not known at compile time. Gautier wrote: > Alinabi: > > > -g -march=opteron -mtune=opteron -mfpmath=sse -fomit-frame-pointer -O2 > > -fdump-tree-optimized > > Did you give -funroll-loops a try ? > > G.