Stride based prefetcher with confidence counter and dynamic prefetch-ahead mechanism
Abstract
A processor is described which includes a stride detect table. The stride detect table includes one or more entries, each entry used to track a potential stride pattern. Additionally, each entry includes a confidence counter. The confidence counter may be incremented each time another address in the pattern is detected, and thus may be indicative of the strength of the pattern (e.g., the likelihood of the pattern repeating). At a first threshold of the confidence counter, prefetching of the next address in the pattern (the most recent address plus the stride) may be initiated. At a second, greater threshold, a more aggressive prefetching may be initiated (e.g. the most recent address plus twice the stride). In some implementations, the prefetch mechanism including the stride detect table may replace a prefetch buffer and prefetch logic in the memory controller.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 12 · Forward citations: 184.
Claims (2 — 2 Independent, 0 Dependent)
- Claim 1Independent Claim
A processor comprising: a table having at least a first entry configured to store at least a portion of a first address and a corresponding first count; and a control circuit coupled to the table, wherein the control circuit is configured to select a second address equal to a sum of the first address and a first value as a prefetch address responsive to the first count being greater than or equal to a first threshold, and wherein the control circuit is configured to select a third address equal to a sum of the first address and a second value as the prefetch address responsive to the first cou
- Claim 2Independent Claim
The processor as recited in claim
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 184 total)
References Cited — Backward Prior Art (12)
Non-Patent Literature (1)
- Ki, et al. "Adaptive Data Prefetching Using Cache Information," Dept. of Computer Sciences, ICS 1997, Vienna Austria, pp. 204-212.