Apparatus and method for invalidation of redundant branch target address cache entries
Abstract
An apparatus for invalidating redundant entries in an N-way set associative branch target address cache (BTAC) for the same branch instruction is disclosed. An index portion of an instruction cache fetch address is applied to the BTAC to select a set of N ways therein. Control logic detects a condition in which more than one of the N ways of the selected set has a valid tag that matches the tag portion of the fetch address. A flag is set to indicate the occurrence of the condition, and the fetch address is stored in a register. The control logic subsequently invalidates all but one of the N ways having a valid tag that matches the fetch address tag.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 6.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
An apparatus in a pipelined microprocessor for invalidating a redundant entry for the same branch instruction in a set associative branch target address cache (BTAC), the apparatus comprising: a way specifier, generated in a first pipeline stage, for specifying one of a plurality of ways of the BTAC for storing a target address of a branch instruction present in a cache line specified by an instruction cache fetch address missing in the BTAC; a request, generated in a second pipeline stage, for requesting the BTAC to write a resolved target address of said branch instruction into said one of s
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (6 of 6 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.
- David A. Patterson and John L. Hennessy, Computer Organization & Design The Hardware/Software Interface, 1998.
- Eberly, Potter and Rossbach; The Correlation Branch Target Address Cache; May 1, 1996.
- IBM Technical Disclosure Bulletin NN9204269, "Return Address Stack Cache." Apr. 1992, pp. 269-271.