Re: Vector assignment semantics (was Re: latest trends in compiler optimization research?)

"Tom Linden" <tom@kednos.company>
Sun, 26 Aug 2007 07:24:44 -0700

          From comp.compilers

Related articles
[10 earlier articles]
Re: Vector assignment semantics (was Re: latest trends in compiler opt mojaveg@mojaveg.lsan.mdsg-pacwest.com (2007-08-17)
Re: Vector assignment semantics (was Re: latest trends in compiler opt gah@ugcs.caltech.edu (glen herrmannsfeldt) (2007-08-17)
Re: Vector assignment semantics (was Re: latest trends in compiler opt Peter_Flass@Yahoo.com (Peter Flass) (2007-08-17)
Re: Vector assignment semantics (was Re: latest trends in compiler opt jjw@cs.sfu.ca (James J. Weinkam) (2007-08-20)
Re: Vector assignment semantics (was Re: latest trends in compiler opt gah@ugcs.caltech.edu (glen herrmannsfeldt) (2007-08-20)
Re: Vector assignment semantics (was Re: latest trends in compiler opt jvorbrueggen@mediasec.de (=?ISO-8859-1?Q?Jan_Vorbr=FCggen?=) (2007-08-21)
Re: Vector assignment semantics (was Re: latest trends in compiler opt tom@kednos.company (Tom Linden) (2007-08-26)
Re: Vector assignment semantics (was Re: latest trends in compiler opt gah@ugcs.caltech.edu (glen herrmannsfeldt) (2007-08-29)
Re: Vector assignment semantics (was Re: latest trends in compiler opt tom@kednos.company (Tom Linden) (2007-09-11)
| List of all articles for this month |

From: "Tom Linden" <tom@kednos.company>
Newsgroups: comp.compilers,comp.lang.pl1
Date: Sun, 26 Aug 2007 07:24:44 -0700
Organization: Kednos
References: 07-08-016 07-08-021 07-08-024 07-08-034 07-08-037 07-08-040 07-08-041 07-08-044 07-08-051 07-08-054
Keywords: parallel, PL/I

On Sun, 19 Aug 2007 22:12:19 -0700, James J. Weinkam <jjw@cs.sfu.ca> wrote:
> If you are going to have array expressions and assignments
> compatible with the current IBM compilers then according to the
> Enterprise LRM:
>
> 1. Array expressions are evaluated element by element in row major
> order, and


> 2. An array assignment is equivalent to a set of nested loops which
> effectively perform a series of scalar assignments in row major
> order.


> This obviates the need for array temporaries except for the final
> result of an array expression.


> The description in the Enterprise manual is essentially identical to
> that which appeared in the F and Optimizer reference manuals back in
> th 60's and 70's.


> For both array expressions and array assignments all arrays involved
> must have the same number of dimensions and identical bounds.


We do the same with our (ANSI) compiler.


--
PL/I for OpenVMS
www.kednos.com



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.