Universal load address/value prediction using stride-based pattern history and last-value prediction in a two-level table scheme
Abstract
This invention is a method and system for hybrid prediction of load addresses and/or values. The new scheme for value prediction provides prediction based on last values and strides, as well as context prediction, without the use of a sophisticated switching scheme between several predictors. The system collects patterns of deltas of subsequent values instead of the values itself in a first table. Thus, a last value prediction can be achieved by predicting a ‘pattern’ of just one stride equal to zero. A stride predictor uses a pattern of one constant stride. And a certain pattern of values is modeled by recording the pattern of deltas between the values and adding the deltas to the last value. The switching scheme is inherently included in the system itself and operates basically by immediate evaluation of counters in the pattern history table.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 18.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A hybrid prediction method usable in parallel computing processors for predicting a value to be produced by an anticipated execution of an instruction comprising: storing, in a first table, a current actual value resulting from a most-recent execution of the instruction, a current stride determined from the current actual value and a previous actual value produced by a prior execution of the instruction, and a stride history pattern for the instruction, the stride history pattern representing a pattern of strides resulting from prior executions of the instruction, wherein strides, including th
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 18 total)
References Cited — Backward Prior Art (9)
Non-Patent Literature (5)
- "Architecture of the Atlas Chip-Multiprocessor: Dynamically Parallelizing Irregular Applications", L. Codrescu et al., IEEE Transaction on Computers, vol. 50, No. 1, Jan. 2001, pp. 67-82.
- "Global Context-Based Value Prediction", T. Nakra et al., Proceedings of the Fifth International Symposium on High-Performance Computer Architecture, IEEE, 1999, pp. 4-12.
- "Highly Accurate Data Value Prediction Using Hubrid Predictors", K. Wang et al., Proceedings of the 30th Annual ACM/IEEE International Symposium on Microarchitecture, IEEE, 1997, pp. 281-290.
- "The Predictability of Data Values", Y. Sazeides et al., Proceedings of the 30th Annual ACM/IEEE International Sympsium on Microarchitectures, IEEE Comp. Soc., 1997, pp. 248-258.
- "Value Prediction for Speculative Multithreaded Architectures", MICRO-32, Proceedings of the 32nd Annual ACM/IEEE International Symposium on Microarchitecture, IEE International Comp. Soc., 1999, pp. 230-236.