Patents
US 6,895,498 B2#4952215 Most CitedExpiredUnited States (USPTO)Utility

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

18Forward Citations (#4952215 Global)
0.9/yrCitation Velocity (#8388547 Global)
2.85Citation PageRank (#8225255 Global)
18Prior 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: 18 · Forward citations: 18.

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; and branch control logic, coupled to said global indicator, for selecti

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,142,634 ABranch prediction1992254
US 5,163,140 ATwo-level branch prediction cache1992144
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,404,467 ACPU having pipelined instruction unit and effective address calculation unit with retained virtual address capability199564
US 5,530,825 AData processor with branch target address cache and method of operation1996122
US 5,850,543 AMicroprocessor with speculative instruction pipelining storing a speculative register value within branch target buffer for use in speculatively executing instructions after a return1998139
US 5,867,701 ASystem for inserting a supplemental micro-operation flow into a macroinstruction-generated micro-operation flow199967
US 5,948,100 ABranch prediction and fetch mechanism for variable length instruction, superscalar pipelined processor199997
US 5,964,868 AMethod and apparatus for implementing a speculative return stack buffer1999111
US 5,974,543 AApparatus and method for performing subroutine call and return operations199977
US 5,978,909 ASystem for speculative branch target prediction having a dynamic prediction history buffer and a static prediction history buffer1999116
US 6,044,459 ABranch prediction apparatus having branch target buffer for effectively processing branch instruction200053
US 6,108,773 AApparatus and method for branch target address calculation during instruction decode200041
US 6,151,671 ASystem and method of maintaining and utilizing multiple return stack buffers200064

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.
  • IEEE 100; The Authoritative Dictionary of IEEE Standards Terms; Seventh Edition, IEEE, Standards Information Network, IEEE Press.
  • MC Farling, Scott; WRL Technical Note TN-36, Combining Branch Predictors, Jun. 1993, Western Research Laboratory, 250 University Ave., Palo Alto, CA 94301.
  • Microprocessor Report, Aug. 23, 1999, p. 7.