Global branch prediction using branch and fetch group history
Abstract
This disclosure includes a method for performing branch prediction by a processor having an instruction pipeline. The processor speculatively updates a global history register having fetch group history and branch history, fetches a fetch group of instructions, and assigns a global history vector to the instructions. The processor predicts any branches in the fetch group using the global history vector and a predictor, and evaluates whether the fetch group contains a predicted taken branch. If the fetch group contains a predicted taken branch, the processor flushes subsequently fetched instructions in the pipeline following the predicted taken branch, repairs the global history register to the global history vector, and updates the global history register based on branch prediction information. If the fetch group does not contain a predicted taken branch, the processor updates the global history register with a branch history value for each branch in the fetch group.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 11 · Forward citations: 4.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer system comprising: an instruction pipeline circuit having a plurality of fetch groups, comprising: an address register for fetching instruction addresses; an instruction cache for storing fetched instructions; an instruction queue for storing decoded instructions; a branch prediction circuit, comprising: a global history register maintaining a global history vector, wherein the global history register comprises a fetch group history portion to store fetch group history and a branch history portion to store branch history, wherein fetch group history for each fetch group is a single
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (4 of 4 total)
References Cited — Backward Prior Art (11)
Non-Patent Literature (3)
- Andre Seznec, Stephen Felix, Venkata Krishnan, Yiannakis Sazeides. "Design Tradeoffs for the Alpha EV8 Conditional Branch Predictor" Proceedings of the 29th Annual International Symposium on Computer Architecture (ISCA.02).
- Heil, T., et al., "Global Branch Prediction Using Branch and Fetch Group History," U.S. Appl. No. 13/964,456, filed Aug. 12, 2013.
- Kevin Skadron, Margaret Martonosi, Douglas W. Clark. "Speculative Updates of Local and Global Branch History: A Quantitative Analysis" Journal of Instruction-Level Parallelism, vol. 2, Jan. 2000.