Patents
US 7,707,398 B2#44562280 Most CitedActiveUnited States (USPTO)Utility

System and method for speculative global history prediction updating

2Forward Citations (#44562280 Global)
0.1/yrCitation Velocity (#41893613 Global)
0.90Citation PageRank (#47632148 Global)
25Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A system and method are provided for updating a speculative global history prediction record in a microprocessor system using pipelined instruction processing. The method accepts microprocessor instructions with consecutive operations, including a conditional branch operation with an associated first branch address. A speculative global history record (SGHR) of conditional branch resolutions and predictions is accessed and hashed with the first branch address, creating a first hash result. The first hash result is used to index a branch history table (BHT) of previous first branch resolutions. As a result, a first branch prediction is made, and the SGHR is updated with the first branch prediction. A non-speculative global history record (NSGHR) of branch resolutions is updated with the resolution of the first branch operation, and if the first branch prediction is incorrect, the SGHR is corrected using the NSGHR.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    In a microprocessor system using pipelined instruction processing, a method for updating a speculative global history prediction record, the method comprising: accepting a first microprocessor instruction of consecutive operations, including a first conditional branch operation with an associated first branch address, at a first stage in a pipelined microprocessor execution process; accessing a speculative global history record (SGHR) of conditional branch resolutions and predictions; hashing the speculative global history record with the first branch address, creating a first hash result; usi

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (25)

PatentTitleYearCitations
US 5,634,119 AComputer processing unit employing a separate millicode branch history table199751
US 5,758,142 ATrainable apparatus for predicting instruction outcomes in pipelined processors1998175
US 2002029333 A1Methods and apparatus for branch prediction using hybrid history with index sharing—16
US 2002188833 A1Dual call/return stack branch prediction system—36
US 2002194465 A1Compression of execution path history to improve branch prediction accuracy—32
US 2002194464 A1Speculative branch target address cache with selective override by seconday predictor based on branch instruction type—83
US 6,526,502 B1Apparatus and method for speculatively updating global branch history with branch prediction prior to resolution of branch outcome200334
US 6,598,152 B1Increasing the overall prediction accuracy for multi-cycle branch prediction and apparatus by enabling quick recovery200329
US 2003149862 A1Out-of-order processor that reduces mis-speculation using a replay scoreboard—51
US 6,721,875 B1Method and apparatus for implementing a single-syllable IP-relative branch instruction and a long IP-relative branch instruction in a processor which fetches instructions in bundle form200440
US 6,738,897 B1Incorporating local branch history when predicting multiple conditional branch outcomes20048
US 6,766,441 B2Prefetching instructions in mis-predicted path for low confidence branches200427
US 2004210749 A1Branch prediction in a data processing apparatus—48
US 2004225872 A1Hybrid branch prediction using a global selection counter and a prediction method comparison table—36
US 2005149707 A1Predicting instruction branches with a plurality of global predictors—33
US 6,928,537 B2Split history tables for branch prediction20059
US 6,976,157 B1Circuits, systems and methods for performing branch predictions by selectively accessing bimodal and fetch-based history tables200513
US 7,000,096 B1Branch prediction circuits and methods and systems using the same200626
US 2006248319 A1Validating branch resolution to avoid mis-steering instruction fetch—56
US 7,165,169 B2Speculative branch target address cache with selective override by secondary predictor based on branch instruction type200719
US 2007220239 A1Representing loop branches in a branch history register with multiple bits—26
US 7,328,332 B2Branch prediction and other processor improvements using FIFO for bypassing certain processor pipeline stages200830
US 2008189533 A1Method, system and apparatus for generation of global branch history—10
US 2009119494 A1Design structure for predictive decoding—16
US 7,647,488 B2Information processing device with branch history restoration20102

Non-Patent Literature (2)

  • Scott McFarling, "Combining Branch Predictors", WRL Technical Note TN-36, Digital Equipment Corp., Jun. 1993.
  • Skadron et al., "Speculative Updates of Local and Global Branch History: a Quantitative Analysis", University of Virginia, 1998.