Re: Kind of NOT integer constant
- From: Dan Nagle <dannagle@xxxxxxxxxxx>
- Date: Wed, 21 Dec 2005 11:30:08 GMT
Hello,
glen herrmannsfeldt wrote:
<snip>
Many Fortran rules exist because of what the hardware does, or did. Integer division of negative numbers is one people have been asking about for a long time.
The Fortran 66 rules regarding DO loops and array subscripts came from the index registers on the IBM 704. Some of those rules are still around.
Actually, Backus has denied this explicitly.
Please see _History of Programming Languages_, pages 69-70.
The issue of limiting the number of indexes of arrays, for example, was made to reduce the amount of address arithmetic, not due to the number of index registers on the 704. Backus is very firm on the point, that efficiency was the concern rather than the 704.
The following quote is during the Q&A following Backus' talk:
<QUOTE>
[Question] "Your paper tries to dispel the legend that three subscripts
came from three index registers, and yet a later Fortran had
a seven index register machine, and therefore had seven index subscripts. What are your _current_ thoughts on how many subscripts
are needed?"
Backus: Well, I stick by my original story. The complexity of analysis that Bob Nelson and Irv Ziller had to do to optimally deal with indexing and looping rose exponentially as the number of subscripts went up. And that was, indeed, the reason we limited it to three. The fact that some later group decided to allow seven subscripts in a seven index register machine-- that was out of my control. [Laughter] </QUOTE>
The proposed f08 allows up to 15 combined rank and co-rank. The discussion did not mention the number of registers in any machine.
-- Cheers!
Dan Nagle Purple Sage Computing Solutions, Inc. .
- Follow-Ups:
- Re: Kind of NOT integer constant
- From: glen herrmannsfeldt
- Re: Kind of NOT integer constant
- References:
- Kind of NOT integer constant
- From: rofi
- Re: Kind of NOT integer constant
- From: James Giles
- Re: Kind of NOT integer constant
- From: Richard E Maine
- Re: Kind of NOT integer constant
- From: Steven G. Kargl
- Re: Kind of NOT integer constant
- From: robin
- Re: Kind of NOT integer constant
- From: glen herrmannsfeldt
- Re: Kind of NOT integer constant
- From: robin
- Re: Kind of NOT integer constant
- From: Dan Nagle
- Re: Kind of NOT integer constant
- From: robin
- Re: Kind of NOT integer constant
- From: glen herrmannsfeldt
- Kind of NOT integer constant
- Prev by Date: Re: where is my optimisation
- Next by Date: Re: where is my optimisation
- Previous by thread: Re: Kind of NOT integer constant
- Next by thread: Re: Kind of NOT integer constant
- Index(es):
Relevant Pages
|
|