Static branch prediction mechanism for conditional branch instructions
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 has a static branch predictor, a mandatory signal, and a biased prediction correlator. The static branch predictor provides a predicted outcome for a branch instruction, and determines if the branch instruction is a biased outcome conditional branch instruction. The mandatory signal is coupled to the static branch predictor and indicates whether or not the branch instruction is the biased outcome conditional branch instruction, thereby indicating whether or not the predicted outcome takes precedence over a dynamic branch prediction for the branch instruction. The biased prediction correlator is coupled to the static branch predictor and the mandatory signal. The biased prediction correlator receives the predicted outcome, the mandatory signal, and the dynamic branch prediction. The biased prediction correlator favors the dynamic branch prediction over the predicted outcome. If the mandatory signal indicates that the branch instruction is a biased outcome conditional branch instruction, however, then the biased predict
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 26 · Forward citations: 16.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
An apparatus in a microprocessor for performing branch prediction, comprising: a static branch predictor, configured to provide a predicted outcome for a branch instruction, and configured to determine if said branch instruction is a biased outcome conditional branch instruction; a mandatory signal, produced by said static branch predictor, configured to indicate whether or not said branch instruction is said biased outcome conditional branch instruction, thereby indicating whether or not said predicted outcome takes precedence over a dynamic branch prediction for said branch instruction; and
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 16 total)
References Cited — Backward Prior Art (26)
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.
- Combining Branch Predictors, Scott McFarling, Jun. 1993, WRL—Technical Note TN-36.