Patents
US 7,398,377 B2#10818906 Most CitedExpiredUnited States (USPTO)Utility

Apparatus and method for target address replacement in speculative branch target address cache

10Forward Citations (#10818906 Global)
0.6/yrCitation Velocity (#14321493 Global)
1.59Citation PageRank (#20855617 Global)
50Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

An apparatus and method in a pipelined microprocessor for replacing one of two target addresses in a branch target address cache (BTAC) line. If only one of the two entries is invalid, the invalid entry is replaced. If both entries are valid, the least recently used entry is replaced. If both entries are invalid, the entry is replaced corresponding to the side of the BTAC, indicated by a global status register, not last written to with an invalid entry. In one embodiment, the global status is updated only if a side is written when both entries are invalid. In another embodiment, the BTAC stores N entries per line, where N is greater than 1. The status register maintains information for determining which of the N sides is least recently written. The least recently written side is chosen for replacement.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    An apparatus for writing a target address of a taken branch instruction into a branch target address cache (BTAC) upon execution of the taken branch instruction, the BTAC having a plurality of storage elements for caching target addresses of executed branch instructions, each of the plurality of storage elements comprising first and second entries for storing a target address, the apparatus comprising: a global indicator, for specifying a global one of the first and second entries of the BTAC plurality of storage elements, wherein said global one of the first and second entries specifies which

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,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,615 ACircuit and method for reducing prefetch cycles on microprocessors199787
US 5,623,614 ABranch prediction cache with multiple entries for returns having multiple callers199793
US 5,634,103 AMethod and system for minimizing branch misprediction penalties within a processor199779
US 5,687,349 AData processor with branch target address cache and subroutine return address cache and method of operation199758
US 5,687,360 ABranch predictor using multiple prediction heuristics and a heuristic identifier in the branch instruction1997105

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.