Combined branch target and predicate prediction
Abstract
Embodiments provide methods, apparatus, systems, and computer readable media associated with predicting predicates and branch targets during execution of programs using combined branch target and predicate predictions. The predictions may be made using one or more prediction control flow graphs which represent predicates in instruction blocks and branches between blocks in a program. The prediction control flow graphs may be structured as trees such that each node in the graphs is associated with a predicate instruction, and each leaf associated with a branch target which jumps to another block. During execution of a block, a prediction generator may take a control point history and generate a prediction. Following the path suggested by the prediction through the tree, both predicate values and branch targets may be predicted. Other embodiments may be described and claimed.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 3.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for execution-time prediction of computer instructions, the method comprising: fetching and executing at least a portion of a first block of instructions; by a combined predicate generator circuitry, generating, based on a control point history, a combined prediction for the first block of instructions, the combined prediction comprising one or more predictions for predicated instructions of the first block of instructions and one or more branch target predictions for branch target instructions of the first block of instructions, wherein the combined prediction indicates predicted bra
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 (50)
Non-Patent Literature (5)
- "Explicit Data Graph Execution," accessed at https://web.archive.org/web/20090831160248/http://en.wikipedia.org/wiki/Explicit-Data-Graph-Execution, last modified on Aug. 28, 2009, pp. 5.
- "Very long instruction word," accessed at https://web.archive.org/web/20090429032447/http://en.wikipedia.org/wiki/Very-long-instruction-word, last modified on Apr. 27, 2009, pp. 5.
- “Explicit Data Graph Execution,” accessed at https://web.archive.org/web/20090831160248/http://en.wikipedia.org/wiki/Explicit—Data—Graph—Execution, last modified on Aug. 28, 2009, pp. 5.
- “Very long instruction word,” accessed at https://web.archive.org/web/20090429032447/http://en.wikipedia.org/wiki/Very—long—instruction—word, last modified on Apr. 27, 2009, pp. 5.
- August, D. I., et al., "Architectural Support for Compiler-Synthesized Dynamic Branch Prediction Strategies: Rationale and Initial Results," Third International Symposium on High-Performance Computer Architecture, pp. 84-93 (Feb. 1-5, 1997).