This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Optimization of gfortran for execution speed


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]