Patents
US 6,502,188 B1#782852 Most CitedExpiredUnited States (USPTO)Utility

Dynamic classification of conditional branches in global history branch prediction

55Forward Citations (#782852 Global)
2.3/yrCitation Velocity (#1568581 Global)
7.63Citation PageRank (#1660588 Global)
38Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A branch prediction unit includes a local branch prediction and a global branch prediction. A global branch prediction utilizes a global history shift register to record the behavior of conditional branches. In some cases, a conditional branch may behave in a static manner, either always being taken or not taken, while resident in an instruction cache. Such static behaving conditional branches do not need a global history for prediction and contend with other conditional branches for global branch history training. By utilizing a dynamic branch classification scheme, branches requiring global history prediction can be identified and static behaving conditional branches may be prevented from polluting the global history. All conditional branches are initially classified as local and do not participate in global history training. Only after two mispredictions are branches recognized as exhibiting dynamic behavior and classified as global. These branches classified as global may then participate in global history training and utilize a global history based branch prediction.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 38 · Forward citations: 55.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A branch prediction mechanism comprising: a local branch prediction storage coupled to receive a fetch address, wherein said fetch address corresponds to a group of contiguous instruction bytes being fetched from an instruction cache, wherein said local branch prediction storage is configured to convey a local branch prediction; and a global branch prediction storage coupled to receive said fetch address and a global history, wherein said fetch address and said global history are combined to form an index, and wherein said index is used to select a global branch prediction from said global bra

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 55 total)

References Cited — Backward Prior Art (38)

Non-Patent Literature (5)

  • Calder et al., "Next Cache Line and Set Prediction," Computer Architecture News, vol. 23, No. 2, May 1995, pp. 287-296.
  • Diefendorff, "Athlon Outruns Pentium III," Microprocessor Report, vol. 13, No. 11, Aug. 1999, 7 pgs.
  • Kaiser, "K7 Branch Prediction," (C) 1999 by Andrea Kaiser, 4 pgs.
  • Kaiser, "K7 Branch Prediction," © 1999 by Andrea Kaiser, 4 pgs.
  • McFarling, "Combining Branch Predictors," WRL Technical Note TN-36, Jun. 1993, pp. 1-20.