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,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!feeder.erje.net!news.internetdienste.de!news.tu-darmstadt.de!news.belwue.de!newsfeed.ision.net!newsfeed2.easynews.net!ision!newsfeed.arcor.de!newsspool2.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="us-ascii" Content-Transfer-Encoding: 7bit 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> Date: Tue, 25 Jan 2011 22:32:57 +0100 Message-ID: <1ge2i0esmav4i$.1jv4tflkkh9rf.dlg@40tude.net> NNTP-Posting-Date: 25 Jan 2011 22:32:55 CET NNTP-Posting-Host: 87cd885f.newsspool3.arcor-online.net X-Trace: DXC=n[31W0lk0DfJ00P1S40fZgMcF=Q^Z^V3h4Fo<]lROoRa8kF 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. The Occam's par-statement could be a better candidate, but I don't see how this could be useful under a modern general-purpose OS with their "vertical" parallelism, when each task is assigned to one core. The thing you propose is "horizontal" parallelism, when a task/process would run on all cores simultaneously. Inmos' Occam ran under no true OS, and the processor architecture was well suited for such ad-hoc parallelism. Modern processors are very different from T805 and I doubt that they would allow an efficient implementation of this. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de