|Estimating loop iterations email@example.com (drizzle) (2005-05-06)|
|Re: Estimating loop iterations firstname.lastname@example.org (glen herrmannsfeldt) (2005-05-07)|
|Re: Estimating loop iterations email@example.com (sandya) (2005-05-07)|
|Re: Estimating loop iterations Trevor.Jenkins@suneidesis.com (2005-05-08)|
|Re: Estimating loop iterations firstname.lastname@example.org (glen herrmannsfeldt) (2005-05-08)|
|From:||glen herrmannsfeldt <email@example.com>|
|Date:||7 May 2005 16:58:29 -0400|
|Posted-Date:||07 May 2005 16:58:29 EDT|
> Can anyone point me to any literature on estimating number of times
> a loop would iterate. I noticed gcc 4 can estimate based on access
> functions, size of data used etc in the loop. Anybody know what paper
> is it based on ?
> [Where is the Fortran FREQUENCY statement now that we need it? -John]
I wondered about it a year or two ago. I saw it in the 704 Fortran
manual when I was looking for something else. It seems that it
didn't last very long. Since its use was optional, I am not sure
why it would go away. The compiler could always ignore it.
The C reg attribute is sometimes used as an indication that a
variable is used more than others, but compilers are allowed to
Other than FREQUENCY, it is interesting how many Fortran features
are pretty much unchanged since Fortran I.
[I heard that FREQUENCY went away both because nobody used it and because
at least with 1960 optimizing technology, it didn't tell the compiler anything
Return to the
Search the comp.compilers archives again.