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: a07f3367d7,99210dd26e04d959 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,UTF8 Path: g2news2.google.com!news3.google.com!feeder.news-service.com!94.75.214.39.MISMATCH!aioe.org!.POSTED!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: Loops and parallel execution Date: Sun, 06 Feb 2011 21:10:49 +0100 Organization: Ada @ Home Message-ID: References: NNTP-Posting-Host: 59xjXE7stDARAmb8zI1USw.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org User-Agent: Opera Mail/11.01 (Win32) X-Notice: Filtered by postfilter v. 0.8.2 Xref: g2news2.google.com comp.lang.ada:17877 Date: 2011-02-06T21:10:49+01:00 List-Id: Le Sat, 29 Jan 2011 01:23:13 +0100, Randy Brukardt = a =C3=A9crit: > We already do something like this for aggregates in Janus/Ada. An = > aggregate > assignment like: > > My_Str :=3D (others =3D> Ch) > > can get turned into the Intel STOSB (I think that's the right opcode) Yes, if I remember correctly, this is precisely =E2=80=9Crep stosb=E2=80= =9D, with a = counter in the ECX (or CX) register. Stosb alone would just update sourc= e = and destination register (SI and DI). This use, although valid, is less = = common. -- = Si les chats miaulent et font autant de vocalises bizarres, c=E2=80=99es= t pas pour = les chiens. =E2=80=9CI am fluent in ASCII=E2=80=9D [Warren 2010]