Title :
Eliminating stale data references through array data-flow analysis
Author :
Choi, Lynn ; Yew, Pen-Chung
Author_Institution :
Center for Supercomput. Res. & Dev., Illinois Univ., Urbana, IL, USA
Abstract :
We develop a compiler algorithm for detecting references to stale data in shared-memory multiprocessors. The algorithm consists of two key analysis techniques, stale reference detection and locality preserving analysis. While the stale reference detection finds the memory reference patterns that may violate cache coherence, the locality preserving analysis minimizes the number of such stale references by analyzing both temporal and spatial reuses. By computing the regions referenced by arrays inside loops, we extend the previous scalar algorithms for more precise analysis. We have implemented the algorithm on the Polaris parallelizing compiler, and using execution-driven simulations on Perfect Club benchmarks we demonstrate how unnecessary cache misses can be eliminated by the automatic stale reference detection
Keywords :
cache storage; data flow analysis; parallel algorithms; parallelising compilers; shared memory systems; Perfect Club benchmarks; Polaris parallelizing compiler; array data-flow analysis; cache coherence; compiler algorithm; execution-driven simulations; locality preserving analysis; memory reference patterns; scalar algorithms; shared-memory multiprocessors; stale data references; unnecessary cache misses; Access protocols; Algorithm design and analysis; Automatic control; Computational modeling; Control systems; Data analysis; Hardware; Large-scale systems; Pattern analysis; Performance analysis; Polarization;
Conference_Titel :
Parallel Processing Symposium, 1996., Proceedings of IPPS '96, The 10th International
Conference_Location :
Honolulu, HI
Print_ISBN :
0-8186-7255-2
DOI :
10.1109/IPPS.1996.508032