Speculative hybrid branch direction predictor
Abstract
An apparatus for speculatively predicting the direction of a branch instruction in a pipelined microprocessor in a hybrid fashion. A branch target address cache (BTAC) stores a direction prediction about executed branch instructions. The BTAC is indexed by an instruction cache fetch address. The BTAC is accessed in parallel with the instruction cache access, such that the direction prediction is provided before the actual instruction is decoded which is presumed to be a branch instruction corresponding to the direction prediction stored in the BTAC. In parallel with the BTAC access, a branch history table (BHT) is accessed to provide a second speculative direction prediction. The BHT is indexed with a gshare function of the instruction cache fetch address and a global branch history stored in a global branch history register. The BTAC also provides a selector that selects between the two speculative direction predictions.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 23 · Forward citations: 17.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A branch apparatus within a microprocessor that utilizes a fetch address to select a cache line in an instruction cache, the apparatus also using the fetch address to speculatively predict whether a branch instruction will be taken or not taken, the branch instruction potentially being present in the instruction cache line, the apparatus comprising: a first predictor, coupled to the fetch address, for predicting whether the branch instruction will be taken or not taken based on the fetch address; logic, coupled to the fetch address, for providing a binary function of the fetch address and a gl
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 17 total)
References Cited — Backward Prior Art (23)
Non-Patent Literature (5)
- Bray et al; Strategies for Branch Target Buffers; Technical Report No. CSL-TR-91-480, Jun. 1991.
- Chang et al; Alternative Implementations of Hybrid Branch Predictors; Proceedings of Micro-28, 1995, IEEE.
- IEEE 100; The Authoritative Dictionary of IEEE Standards Terms; Seventh Edition, IEEE, Standards Information Network, IEEE Press.
- Mc Farling, Scott; WRL Technical Note TN-36, Combining Branch Predictors, Jun. 1993, Western Research Laboratory, 250 University Ave., Palo Alto, CA 94301.
- McFarling, "WRL Technical Note TN-36, Combining Branch Predictors," Digital Equipment Corp., 1993.*