Patents
US 7,707,397 B2#21846155 Most CitedExpiredUnited States (USPTO)Utility

Variable group associativity branch target address cache delivering multiple target addresses per cache line

5Forward Citations (#21846155 Global)
0.3/yrCitation Velocity (#25273719 Global)
1.31Citation PageRank (#28112588 Global)
50Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A branch prediction apparatus having two two-way set associative cache memories each indexed by a lower portion of an instruction cache fetch address is disclosed. The index selects a group of four entries, one from each way of each cache. Each entry stores a single target address of a different previously executed branch instruction. For some groups, the four entries cache target addresses for one branch instruction in each of four different cache lines, to obtain four-way group associativity; for other groups, the four entries cache target addresses for one branch instruction in each of two different cache lines and two branch instructions in a third different cache line, to effectively obtain three-way group associativity, depending on the distribution of the branch instructions in the program. The apparatus trades off associativity for number of predictable branches per cache line on an index-by-index basis to efficiently use storage space.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    An apparatus in a microprocessor for predicting a target address for a variable number of branch instructions in each cache line fetched from an instruction cache at a fetch address, the apparatus comprising: first and second two-way set associative cache memories, each having an index input coupled to receive a portion of the instruction cache fetch address, wherein said index selects one of a plurality of groups of four entries, each said group comprising one entry in each way of each of said first and second cache memories, wherein each of said entries is configured to cache a target addres

Technical Overview & Description

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

References Cited — Backward Prior Art (50)

PatentTitleYearCitations
US 4,181,942 AProgram branching method and apparatus198064
US 4,200,927 AMulti-instruction stream branch processing mechanism1980305
US 4,860,197 ABranch cache system with instruction boundary determination independent of parcel boundary1989123
US 5,142,634 ABranch prediction1992254
US 5,148,538 ATranslation look ahead based cache access199285
US 5,163,140 ATwo-level branch prediction cache1992144
US 5,313,634 AComputer system branch prediction of subroutine returns1994140
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,394,530 AArrangement for predicting a branch target address in the second iteration of a short loop199564
US 5,404,467 ACPU having pipelined instruction unit and effective address calculation unit with retained virtual address capability199564
US 5,434,985 ASimultaneous prediction of multiple branches for superscalar processing1995136
US 5,513,330 AApparatus for superscalar instruction predecoding using cached instruction lengths199679
US 5,530,825 AData processor with branch target address cache and method of operation1996122
US 5,553,246 AShared bus mediation system for multiprocessor system199656
US 5,604,877 AMethod and apparatus for resolving return from subroutine instructions in a computer processor1997190
US 5,623,614 ABranch prediction cache with multiple entries for returns having multiple callers199793
US 5,623,615 ACircuit and method for reducing prefetch cycles on microprocessors199787
US 5,634,103 AMethod and system for minimizing branch misprediction penalties within a processor199779
US 5,687,360 ABranch predictor using multiple prediction heuristics and a heuristic identifier in the branch instruction1997105
US 5,687,349 AData processor with branch target address cache and subroutine return address cache and method of operation199758
US 5,706,491 ABranch processing unit with a return stack including repair using pointers from different pipe stages199887
US 5,721,855 AMethod for pipeline processing of instructions by controlling access to a reorder buffer using a register file outside the reorder buffer1998321
US 5,732,243 ABranch processing unit with target cache using low/high banking to support split prefetching199833
US 5,734,881 ADetecting short branches in a prefetch buffer using target location information in a branch target cache1998132

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.
  • Eberly et al. "The Correlation Branch Target Address Cache" May 1996.
  • IBM Technical Disclosure Bulletin NN9204269, "Return Address Stack Cache." Apr. 1992, pp. 269-271.
  • IEEE 100, The Authoritative Dictionary of IEEE Standard Terms, Seventh Edition. The Institute of Electrical Engineering, Inc. New York: Standards Information Network IEEE Press p. 135.