Patents
US 6,928,537 B2#12100730 Most CitedExpiredUnited States (USPTO)Utility

Split history tables for branch prediction

9Forward Citations (#12100730 Global)
0.4/yrCitation Velocity (#18723251 Global)
1.68Citation PageRank (#19084644 Global)
28Prior Art Cited
2Claims (1 Indep. · 1 Dep.)
0Drawings / Sheets

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)

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

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

References Cited — Backward Prior Art (28)

PatentTitleYearCitations
US 4,679,141 APageable branch history table1987107
US 4,763,245 ABranch prediction mechanism in which a branch history table is updated using an operand sensitive branch table198862
US 5,210,831 AMethods and apparatus for insulating a branch prediction mechanism from data dependent branch table updates that result from variable test operand locations199330
US 5,454,117 AConfigurable branch prediction for a processor performing speculative execution1995171
US 5,564,118 APast-history filtered branch prediction199652
US 5,584,001 ABranch target buffer for dynamically predicting branch instruction outcomes using a predicted branch history199684
US 5,634,119 AComputer processing unit employing a separate millicode branch history table199751
US 5,752,014 AAutomatic selection of branch prediction methodology for subsequent branch instruction based on outcome of previous branch prediction199860
US 5,758,142 ATrainable apparatus for predicting instruction outcomes in pipelined processors1998175
US 5,764,970 AMethod and apparatus for supporting speculative branch and link/branch on count instructions199823
US 5,828,874 APast-history filtered branch prediction199824
US 5,848,268 AData processor with branch target address generating unit199824
US 5,872,950 AMethod and apparatus for managing register renaming including a wraparound array and an indication of rename entry ages199949
US 5,928,358 AInformation processing apparatus which accurately predicts whether a branch is taken for a conditional branch instruction, using small-scale hardware199922
US 6,088,793 AMethod and apparatus for branch execution on a multiple-instruction-set-architecture microprocessor200098
US 6,112,293 AProcessor configured to generate lookahead results from operand collapse unit and for inhibiting receipt/execution of the first instruction based on the lookahead result200061
US 6,115,809 ACompiling strong and weak branching behavior instruction blocks to separate caches for dynamic and static prediction200087
US 6,125,444 AMillimode capable computer system providing global branch history table disables and separate millicode disables which enable millicode disable to be turned off for some sections of code execution but not disabled for all200018
US 6,151,672 AMethods and apparatus for reducing interference in a branch history table of a microprocessor200026
US 6,247,122 B1Method and apparatus for performing branch prediction combining static and dynamic branch predictors200151
US 6,263,427 B1Branch prediction mechanism200155

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.