Split history tables for branch prediction
Abstract
An apparatus and method are provided for accurately predicting the outcome of branch instructions prior to their execution by a pipeline microprocessor. The apparatus includes a first table, a second table, and selection logic. The first table stores branch histories for a first set of branch instructions where the first set, when executed, exhibits a bias toward a first outcome. The second table stores second branch histories for a second set of branch instructions, where, the second set, when executed, exhibits a bias toward a second outcome. The selection logic is coupled to the first and second tables. The selection logic selects a particular branch history from either of the first or second tables. Thus, a branch prediction is made based upon contents of a branch history that is selected from a table containing branch histories for other branch instructions that exhibit the same outcome tendency as the particular branch instruction, thereby reducing the negative effects of aliasing.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 28 · Forward citations: 9.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
An apparatus in a microprocessor for performing branch prediction, comprising: a bias indicator, configured to receive a branch instruction, and to provide an output indicating a particular outcome bias category for said branch instruction; and a dynamic branch predictor, coupled to said bias indicator, configured to receive said output, and to predict an outcome for said branch instruction based upon contents of an entry in a particular branch history table, wherein said particular branch history table corresponds to said particular outcome bias category, and wherein said dynamic branch predi
- Claim 2Depends on #1
The apparatus as recited in claim 1 , wherein said plurality of outcome biases c
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 (28)
Non-Patent Literature (5)
- A System Level Perspective on Branch Architecture Performance, Calder et al 1995 IEEE.
- Alternative Implementations of Hybrid Branch Predictors, Chang et al., 1995 IEEE.
- Assigning Confidence to Conditional Predictions, Jacobsen et al., 1996 IEEE.
- Combining Branch Predictors, Scott McFarling, Jun. 1993, WRL-Technical Note TN-36.
- Gshare, "Agrees" Aid Branch Prediction, Linley Gwennap, Nov. 17, 1997, Microprocessor Report.