Compiler Analysis for Cache Coherence: Interprocedural Array Data-Flow Analysis and Its Impacts on Cache Performance
Loading...
View/Download File
Persistent link to this item
Statistics
View StatisticsJournal Title
Journal ISSN
Volume Title
Title
Compiler Analysis for Cache Coherence: Interprocedural Array Data-Flow Analysis and Its Impacts on Cache Performance
Authors
Published Date
1997
Publisher
Type
Report
Abstract
In this paper, we present compiler algorithms for detecting references to stale data in sharedmemory
multiprocessors. The algorithm consists of two key analysis techniques, stale reference
detection and locality preserning 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
(8] for more precise analysis. We develop a full interprocedural array data-flow algorithm,
which performs both bottom-up side-effect analysis and top-down context analysis on the procedure
call graph to further exploit locality across procedure boundaries. The interprocedural
algorithm eliminates cache invalidations at procedure boundaries, which were assumed in the
previous compiler algorithms (9]. We have fully implemented the algorithm in the Polaris parallelizing
compiler (27). Using execution-driven simulations on Perfect Club benchmarks, we
demonstrate how unnecessary cache misses can be eliminated by the automatic stale reference
detection. The algorithm can be used to implement cache coherence in the shared-memory
multiprocessors that do not have hardware directories, such as Cray T3D (20].
Description
Related to
Replaces
License
Series/Report Number
Technical Report; 97-031
Funding information
Isbn identifier
Doi identifier
Previously Published Citation
Other identifiers
Suggested citation
Choi, Lynn; Yew, Pen-Chung. (1997). Compiler Analysis for Cache Coherence: Interprocedural Array Data-Flow Analysis and Its Impacts on Cache Performance. Retrieved from the University Digital Conservancy, https://hdl.handle.net/11299/215313.
Content distributed via the University Digital Conservancy may be subject to additional license and use restrictions applied by the depositor. By using these files, users agree to the Terms of Use. Materials in the UDC may contain content that is disturbing and/or harmful. For more information, please see our statement on harmful content in digital repositories.