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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,47fc49812a5e8e38 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news4.google.com!feeder.news-service.com!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!.POSTED!not-for-mail From: Colin Paul Gloster Newsgroups: comp.lang.ada Subject: Re: small example, using complex variables in Ada Date: Thu, 17 Jun 2010 11:33:05 +0100 Organization: A noiseless patient Spider Message-ID: References: <6e70b80b-3030-479f-8378-d1281d1fa847@d37g2000yqm.googlegroups.com> <4c1016f3-ff7b-456f-b0e2-0a79985ebc9e@b35g2000yqi.googlegroups.com> Reply-To: Colin Paul Gloster Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-312744368-1276770802=:27957" Injection-Date: Thu, 17 Jun 2010 10:32:36 +0000 (UTC) Injection-Info: mx03.eternal-september.org; posting-host="kheEuXGHhE2Z5eF1gAST+A"; logging-data="13584"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/vuIrFuhct74wGpQBBaYgYo6fJGadfjAfQD13z/OsDKw==" User-Agent: Alpine 2.00 (LRH 1167 2008-08-23) In-Reply-To: <4c1016f3-ff7b-456f-b0e2-0a79985ebc9e@b35g2000yqi.googlegroups.com> Cancel-Lock: sha1:nTUD++hGVfppidgP96j+IAYzGAM= X-X-Sender: Colin_Paul@64bit-RedHat-Enterprise-Linux6beta Xref: g2news2.google.com comp.lang.ada:12769 Date: 2010-06-17T11:33:05+01:00 List-Id: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-312744368-1276770802=:27957 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE On Thu, 17 Jun 2010, Gautier sent: |--------------------------------------------------------------------| |"On Jun 10, 5:48=A0pm, Colin Paul Gloster | |wrote: | | | |> Additionally, loop unrolling should be considered. | | | |Just a note for those who are not aware of and who'd be tempted to | |unroll loops by hand: compilers are able to unroll loops themselves.| |For instance GNAT has a -funroll-loops for a long time (and also - | |fpeel-loops and -funswitch-loops)." | |--------------------------------------------------------------------| It is possible to obtain better performance by both manually unrolling and having a compiler unroll for you at the same, instead of by relying on just a compiler or just manual unrolling. See for example "Computer Architecture: A Quantitative Approach" (in which manual unrolling was called "symbolic loop unrolling"). Sincerely, Colin Paul Gloster --0-312744368-1276770802=:27957--