1994 · 294 citations · 22 references
ComputingComputer EngineeringComputer ScienceAlgorithmsCompilersScientific ComputingCache Behavior AnalysisCachingData LocalityData Locality OptimizationData-flow AnalysisPerformance OptimizationCache Hit RateCache Hit Rate OptimizationCache LocalityCache OptimizationCache Performance ModelingKernel OptimizationSpatial ReuseTransformations
In the past decade, processor speed has become significantly faster than memory speed. Small, fast cache memories are designed to overcome this discrepancy, but they are only effective when programs exhibit data locality. In this paper, we present compiler optimizations to improve data locality based on a simple yet accurate cost model. The model computes both temporal and spatial reuse of cache lines to find desirable loop organizations. The cost model drives the application of compound transformations consisting of loop permutation, loop fusion, loop distribution, and loop reversal. We demonstrate that these program transformations are useful for optimizing many programs.
22
A data locality optimizing algorithm
Michael E. Wolf, Monica S. Lam · 1991 · 1.3K citations · Full text
Dependence graphs and compiler optimizations
David J. Kuck, Robert H. Kuhn, David Padua et al. · 1981 · 652 citations · Full text
François Irigoin, Rémi Triolet · 1988 · 562 citations