Patents
US 8,555,040 B2#11997601 Most CitedActiveUnited States (USPTO)Utility

Indirect branch target predictor that prevents speculation if mispredict is expected

9Forward Citations (#11997601 Global)
0.7/yrCitation Velocity (#11114495 Global)
1.78Citation PageRank (#17429300 Global)
18Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

In one embodiment, a processor implements an indirect branch target predictor to predict target addresses of indirect branch instructions. The indirect branch target predictor may store target addresses generated during previous executions of indirect branches, and may use the stored target addresses as predictions for current indirect branches. The indirect branch target predictor may also store a validation tag corresponding to each stored target address. The validation tag may be compared to similar data corresponding to the current indirect branch being predicted. If the validation tag does not match, the indirect branch is presumed to be mispredicted (since the branch target address actually belongs to a different instruction). The indirect branch target predictor may inhibit speculative execution subsequent to the mispredicted indirect branch until the redirect is signalled for the mispredicted indirect branch.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    An indirect branch predictor comprising: a branch prediction memory comprising a plurality of entries, wherein each entry is configured to store a target address corresponding to a previously-executed indirect branch instruction and a corresponding validation tag corresponding to the previously-executed indirect branch instruction, wherein the validation tag is derived at least in part from at least a portion of a program counter address (PC) of the previously-executed branch instruction, wherein the branch prediction memory is coupled to receive an index selecting at least a first entry of th

Technical Overview & Description

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

References Cited — Backward Prior Art (18)

PatentTitleYearCitations
US 5,313,634 AComputer system branch prediction of subroutine returns1994140
US 5,608,886 ABlock-based branch prediction using a target finder array storing target sub-addresses199773
US 5,835,754 ABranch prediction system for superscalar processor199850
US 5,968,169 ASuperscalar microprocessor stack structure for judging validity of predicted subroutine return addresses1999113
US 6,014,734 ASuperscalar microprocessor configured to predict return addresses from a return stack storage200064
US 6,271,877 B1Direct broadcast imaging satellite system apparatus and method for providing real-time, continuous monitoring of earth from geostationary earth orbit200145
US 6,308,322 B1Method and apparatus for reduction of indirect branch instruction overhead through use of target address hints200193
US 6,601,161 B2Method and system for branch target prediction using path information200355
US 7,117,347 B2Processor including fallback branch prediction mechanism for far jump and far call instructions20065
US 7,165,169 B2Speculative branch target address cache with selective override by secondary predictor based on branch instruction type200719
US 7,200,740 B2Apparatus and method for speculatively performing a return instruction in a microprocessor200711
US 7,237,098 B2Apparatus and method for selectively overriding return stack prediction in response to detection of non-standard return sequence20072
US 7,434,037 B2System for target branch prediction using correlation of local target histories including update inhibition for inefficient entries200822
US 2008307210 A1System and Method for Optimizing Branch Logic for Handling Hard to Predict Indirect Branches—25
US 2009089564 A1Protecting a Branch Instruction from Side Channel Vulnerabilities—122
US 2009172371 A1Feedback mechanism for dynamic predication of indirect jumps—34
US 2009177858 A1Method and Apparatus for Controlling Memory Array Gating when a Processor Executes a Low Confidence Branch Instruction in an Information Handling System—11
US 2009198981 A1Data processing system, processor and method of data processing having branch target address cache storing direct predictions—9

Non-Patent Literature (2)

  • Kozyrakis, Christos. "EE382A Lecture 5: Branch Prediction". 2009, 10 pages.
  • Pattern, David. Hennessy, John. "Computer Architecture: A Quantitative Approach". Morgan Kaufmann Publishers, Inc. 1996, pp. 271-278.