Apparatus and method for target address replacement in speculative branch target address cache
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)
- 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 ↗
Cited By — Indexed Forward Citations (15 of 18 total)
References Cited — Backward Prior Art (18)
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.