Variable group associativity branch target address cache delivering multiple target addresses per cache line
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)
- 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 ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (50)
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.