Patents
US 6,886,093 B2#5332090 Most CitedExpiredUnited States (USPTO)Utility

Speculative hybrid branch direction predictor

17Forward Citations (#5332090 Global)
0.8/yrCitation Velocity (#9062653 Global)
2.92Citation PageRank (#7903599 Global)
23Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

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)

  1. 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 ↗

References Cited — Backward Prior Art (23)

PatentTitleYearCitations
US 5,142,634 ABranch prediction1992254
US 5,163,140 ATwo-level branch prediction cache1992144
US 5,353,421 AMulti-prediction branch prediction mechanism1994108
US 5,355,459 APipeline processor, with return address stack storing only pre-return processed addresses for judging validity and correction of unprocessed address199455
US 5,404,467 ACPU having pipelined instruction unit and effective address calculation unit with retained virtual address capability199564
US 5,530,825 AData processor with branch target address cache and method of operation1996122
US 5,687,360 ABranch predictor using multiple prediction heuristics and a heuristic identifier in the branch instruction1997105
US 5,761,723 AData processor with branch prediction and method of operation199860
US 5,812,839 ADual prediction branch system having two step of branch recovery process which activated only when mispredicted branch is the oldest instruction in the out-of-order unit1998102
US 5,850,543 AMicroprocessor with speculative instruction pipelining storing a speculative register value within branch target buffer for use in speculatively executing instructions after a return1998139
US 5,867,701 ASystem for inserting a supplemental micro-operation flow into a macroinstruction-generated micro-operation flow199967
US 5,948,100 ABranch prediction and fetch mechanism for variable length instruction, superscalar pipelined processor199997
US 5,964,868 AMethod and apparatus for implementing a speculative return stack buffer1999111
US 5,974,543 AApparatus and method for performing subroutine call and return operations199977
US 5,978,909 ASystem for speculative branch target prediction having a dynamic prediction history buffer and a static prediction history buffer1999116

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.*