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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,b49d3a703a4b4db5 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!l14g2000yql.googlegroups.com!not-for-mail From: Ada novice Newsgroups: comp.lang.ada Subject: Re: compiler settings in AdaGIDE Date: Fri, 23 Jul 2010 07:23:39 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <95bd10c9-8747-4f02-b20b-8d4244465949@5g2000yqz.googlegroups.com> NNTP-Posting-Host: 193.11.22.91 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1279895019 4956 127.0.0.1 (23 Jul 2010 14:23:39 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 23 Jul 2010 14:23:39 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: l14g2000yql.googlegroups.com; posting-host=193.11.22.91; posting-account=Rr9I-QoAAACS-nOzpA-mGxtAlZ46Nb6I User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.7) Gecko/20100713 Firefox/3.6.7 (.NET CLR 3.5.30729),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:12498 Date: 2010-07-23T07:23:39-07:00 List-Id: Hi, Thanks for your kind help. As I mentioned earlier, I use -gnatVa -O3 -gnatn -funroll-loops -gnatf -gnato and so the -O3 is already there though the .ago file doesn't state it. But perhaps in AdaGIDE, the option -O3 is equivalent to: release o2 true release inlining true as written in the .ago file in my earlier message. I have tried to put all of your options at once so as to have: -gnatVa -O3 -gnatn -funroll-loops -gnatf -gnato -fpeel-loops -ftracer - funswitch-loops -fweb -frename-registers -mfpmath=sse -msse3 but I didn't see improvements in the execution time. For the sample program that I'm testing, the options that I used previously run the code in 1538 s and with the new options (combination of yours and mine), it took 1546 s. The problem is that there's not much information available on the compiler options on the web. But I shall investigate each of the option that you supplied and also it can be a good idea to not put all these options at the same time. For now I read that -mfpmath=sse - msse3 should be very suitable to increase the execution speed. Thanks again. YC