Compiler implemented software cache in which non-aliased explicitly fetched data are excluded
Abstract
A compiler implemented software cache in which non-aliased explicitly fetched data are excluded are provided. With the mechanisms of the illustrative embodiments, a compiler uses a forward data flow analysis to prove that there is no alias between the cached data and explicitly fetched data. Explicitly fetched data that has no alias in the cached data are excluded from the software cache. Explicitly fetched data that has aliases in the cached data are allowed to be stored in the software cache. In this way, there is no runtime overhead to maintain the correctness of the two copies of data. Moreover, the number of lines of the software cache that must be protected from eviction is decreased. This leads to a decrease in the amount of computation cycles required by the cache miss handler when evicting cache lines during cache miss handling.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 3.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method, in a data processing system, for compiling source code for execution by one or more processors, comprising: creating a control flow graph for the source code; generating a candidate set of data for explicit fetching, wherein the candidate set of data for explicit prefetching includes an assignment statement in the source code that has variable data identified within a same loop of the source code where the assignment statement appears; generating a candidate set of data for storing in a software cache, wherein the candidate set of data for storing in the software cache includes an as
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (3 of 3 total)
References Cited — Backward Prior Art (7)
Non-Patent Literature (5)
- Cahoon et al, "Effective Compile-time Analysis for Data Prefetching in Java", Sep. 2002, pp. 1-188 .
- Cahoon et al, "Effective Compile-time Analysis for Data Prefetching in Java", Sep. 2002, pp. 1-188 <cahoon-thesis02.pdf>.
- Darnell et al., "Automatic Software Cache Coherence through Vectorization", Proceedings of the ACM International Conference on Supercomputing, Washington, DC, Jul. 1992, 16 pages.
- Lin et al, "A Compiler Framework for Speculative Optimizations" , ACM Taco Sep. 2004, vol. 1, iss. 3 pp. 1-25.
- USPTO U.S. Appl. No. 11/279,768, Image File Wrapper printed Jul. 16, 2010, 1 page.