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,99210dd26e04d959 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Path: g2news2.google.com!news3.google.com!feeder3.cambriumusenet.nl!feed.tweaknews.nl!193.141.40.65.MISMATCH!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: Loops and parallel execution Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <4d3eeef7$0$6879$9b4e6d93@newsspool2.arcor-online.net> <4d3f0a1d$0$6993$9b4e6d93@newsspool4.arcor-online.net> <1ge2i0esmav4i$.1jv4tflkkh9rf.dlg@40tude.net> Date: Wed, 26 Jan 2011 11:08:43 +0100 Message-ID: <14xskjrqcp9tj.fxvg9ekc2eva.dlg@40tude.net> NNTP-Posting-Date: 26 Jan 2011 11:08:43 CET NNTP-Posting-Host: cb5cadf7.newsspool4.arcor-online.net X-Trace: DXC=dZ^g2d^EWVc]BlmkiiU@Bi4IUK On Wed, 26 Jan 2011 02:06:57 +0100, Yannick Duchêne (Hibou57) wrote: > Le Tue, 25 Jan 2011 22:32:57 +0100, Dmitry A. Kazakov > a écrit: > >> On Tue, 25 Jan 2011 18:36:29 +0100, Georg Bauhaus wrote: >> >>> If a compiler detects two independent paths inside a loop, >> >> I don't see any application for this. Can you remember the last time you >> wrote such loop? I cannot. > I can see one: a kind of compiler optimization. I use to though about > something similar to what Georg exposed (except not strictly with loops), > which I called “micro-parallelism”. OK, but you need no special constructs for this. The "mind reading" compiler could optimize the standard for-loop without further hints. > This kind of parallelism requires to be handled at low level (CPU or > else). If you had a dataflow signal processor... -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de