2001 · 61 citations · 21 references
ComputingComputer EngineeringComputer ScienceCompilersComputer ArchitectureData StructuresCache Behavior AnalysisCachingData LocalityData Locality OptimizationMemory HierarchyMemory Hierarchy OptimizationCache LocalityCache OptimizationData Cache BehaviorLocality Of ReferenceMemory Access LocalityMemory Footprint ReductionMemory LocalityMemory Locality Optimization
In this paper, we propose memory reduction as a new approach to data locality enhancement. Under this approach, we use the compiler to reduce the size of the data repeatedly referenced in a collection of nested loops. Between their reuses, the data will more likely remain in higher-speed memory devices, such as the cache. Specically, we present an optimal algorithm to combine loop shifting, loop fusion and array contraction to reduce the temporary array storage required to execute a collection of loops. When applied to 20 benchmark programs, our technique reduces the memory requirement, counting both the data and the code, by 51% on average. The transformed programs gain a speedup of 1.40 on average, due to the reduced footprint and, consequently, the improved data locality. Categories and Subject Descriptors D.3.4 [Programming Languages]: Processors|compil- ers, optimization General Terms Languages Keywords Array contraction, data locality, loop fusion, loop shifting 1.
21
Network Flows: Theory, Algorithms, and Applications.
David K. Smith, Ravindra K. Ahuja, Thomas L. Magnanti et al. · Journal of the Operational Research Society · 1994 · 8.2K citations · Full text
Retiming synchronous circuitry
Charles E. Leiserson, James B. Saxe · Algorithmica · 1991 · 999 citations