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

glen herrmannsfeldt <gah@ugcs.caltech.edu>
Wed, 15 Aug 2007 12:13:51 -0800

          From comp.compilers

Related articles
Re: latest trends in compiler optimization research? al407@cam.ac.uk (Anton Lokhmotov) (2007-08-07)
Re: latest trends in compiler optimization research? wyrmwif@tsoft.org (SM Ryan) (2007-08-07)
Re: latest trends in compiler optimization research? wclodius@lanl.gov (2007-08-09)
Re: latest trends in compiler optimization research? gah@ugcs.caltech.edu (glen herrmannsfeldt) (2007-08-11)
Re: Vector assignment semantics (was Re: latest trends in compiler opt al407@cam.ac.uk (Anton Lokhmotov) (2007-08-13)
Re: Vector assignment semantics (was Re: latest trends in compiler opt gah@ugcs.caltech.edu (glen herrmannsfeldt) (2007-08-15)
Re: Vector assignment semantics (was Re: latest trends in compiler opt Peter_Flass@Yahoo.com (Peter Flass) (2007-08-15)
Re: Vector assignment semantics (was Re: latest trends in compiler opt jwkenne@attglobal.net (John W. Kennedy) (2007-08-15)
Re: Vector assignment semantics (was Re: latest trends in compiler opt wyrmwif@tsoft.org (SM Ryan) (2007-08-16)
Re: Vector assignment semantics (was Re: latest trends in compiler opt bmoses-nospam@cits1.stanford.edu (Brooks Moses) (2007-08-15)
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)
[7 later articles]
| List of all articles for this month |
From: glen herrmannsfeldt <gah@ugcs.caltech.edu>
Newsgroups: comp.compilers,comp.lang.pl1
Date: Wed, 15 Aug 2007 12:13:51 -0800
Organization: Compilers Central
References: 07-08-01607-08-021 07-08-024 07-08-034 07-08-037
Keywords: PL/I, parallel
Posted-Date: 15 Aug 2007 15:16:47 EDT

Anton Lokhmotov wrote:


> All the papers on Fortran 8x I read so far mention the parallel
> semantics. But I decided to check on the PL/I semantics. In "The
> early history and characteristics of PL/I" (HOPL-I, 1978,
> pp. 570-571), George Radin wrote that he original PL/I semantics was
> serial but was changed to parallel in the ANSI-1976 standard. Radin
> claims that the parallel semantics seems more natural to
> programmers, while the sequential semantics does not require
> temporaries (as Glen Herrmannsfeldt has noted), possibly leading to
> more efficient code on machines of the time. Today, few would argue
> against supporting "naturalness" (even if at the expense of space).


http://publibfp.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/ibmol004/3.1.4.2.1


It seems that IBM doesn't follow the ANSI-1976 standard, and this is
one more example. (The manual is copyright 1964, 1990, and I believe
applies to current IBM compilers.)


In most other cases, PL/I does support what I would have called
"naturalness" at the expense of space and/or time. This may have been
more "natural" to programmers used to using DO loops for array
assignment.


I have added comp.lang.pl1. Implementors of other PL/I compilers
might comment on their support of array expressions.


-- glen


Post a followup to this message

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