Indirect branch target predictor that prevents speculation if mispredict is expected
Abstract
In one embodiment, a processor implements an indirect branch target predictor to predict target addresses of indirect branch instructions. The indirect branch target predictor may store target addresses generated during previous executions of indirect branches, and may use the stored target addresses as predictions for current indirect branches. The indirect branch target predictor may also store a validation tag corresponding to each stored target address. The validation tag may be compared to similar data corresponding to the current indirect branch being predicted. If the validation tag does not match, the indirect branch is presumed to be mispredicted (since the branch target address actually belongs to a different instruction). The indirect branch target predictor may inhibit speculative execution subsequent to the mispredicted indirect branch until the redirect is signalled for the mispredicted indirect branch.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 18 · Forward citations: 9.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
An indirect branch predictor comprising: a branch prediction memory comprising a plurality of entries, wherein each entry is configured to store a target address corresponding to a previously-executed indirect branch instruction and a corresponding validation tag corresponding to the previously-executed indirect branch instruction, wherein the validation tag is derived at least in part from at least a portion of a program counter address (PC) of the previously-executed branch instruction, wherein the branch prediction memory is coupled to receive an index selecting at least a first entry of th
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (9 of 9 total)
References Cited — Backward Prior Art (18)
Non-Patent Literature (2)
- Kozyrakis, Christos. "EE382A Lecture 5: Branch Prediction". 2009, 10 pages.
- Pattern, David. Hennessy, John. "Computer Architecture: A Quantitative Approach". Morgan Kaufmann Publishers, Inc. 1996, pp. 271-278.