Methods and apparatus for compiler managed first cache bypassing
Abstract
Methods and apparatus to manage bypassing of a first cache are disclosed. In one such method, a load instruction having an expected latency greater than or equal to a predetermined threshold is identified. A request is then made to schedule the identified load instruction to have a predetermined latency. The software program is then scheduled. An actual latency associated with the load instruction in the scheduled software program is then compared to the predetermined latency. If the actual latency is greater than or equal to the predetermined latency, the load instruction is marked to bypass the first cache.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 31 · Forward citations: 6.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method of compiling a software program to decrease misses of a first cache comprising: identifying a load instruction having an expected latency greater than or equal to a threshold; requesting that the load instruction be scheduled to have a first latency; scheduling the software program; comparing an actual latency associated with the load instruction in the scheduled software program to the first latency; and if the actual latency is greater than or equal to the first latency, marking the load instruction to bypass the first cache and access a lower level cache.
- Claim 2Depends on #1
A method as defined in claim 1 wherein requesting that the load instruction be scheduled to have the first latency comprises requesting that the load instruction be scheduled to have the first latency if a bypass probability of the load instruction is greater than or equal to a probabil
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (6 of 6 total)
References Cited — Backward Prior Art (31)
Non-Patent Literature (5)
- "EPIC." http://searchhp.techtarget.com/sDefinition/0,,sid6-gci214560,00.html. Printed on Aug. 9, 2002.
- "Intel Itanium 2 Processor." http://www.intel.com/products/server/processors/server/itanium2/. Printed on Aug. 9, 2002.
- "Itanium." http://searchhp.techtarget.com/sDefinition/0,,sid6-gci214552,00.html. Printed on Aug. 9, 2002.
- A. Lebeck et al. "Cache Profiling and the SPEC Benchmarks: A Case Study." IEEE Computer 27(10). pp. 15-26. 1994.
- A. Stoutchinin et al. "Speculative Prefetching of Induction Pointers." Compiler Construction, 10th International Conference. 2001.