Optimization of gfortran for execution speed
Richard Henderson
rth@twiddle.net
Wed Nov 2 04:24:00 GMT 2005
On Thu, Oct 20, 2005 at 12:15:05PM -0400, Andrew Pinski wrote:
> A way to speed/fixing this up, is to make struct array1_real4 for each
> array
> at the beginning of the function, even though they might not be used.
> You should be able to let DCE do its job of cleanuping up unused
> structs.
More than that: if the array is SAVEd (or other Fortran words that
mean it's in static storage), the descriptor can be static as well,
and reside in read-only memory.
r~
More information about the Fortran
mailing list