Cache way prediction based on instruction base register
Abstract
A way prediction scheme for a partitioned cache is based on the contents of instructions that use indirect addressing to access data items in memory. The contents of indirect-address instructions are directly available for use, without a memory address computation, and a prediction scheme based on this directly available information is particularly well suited for a pipeline architecture. Indirect addressing instructions also provide a higher-level abstraction of memory accesses, and are likely to be more indicative of relationships among data items, as compared to the absolute address of the data items. In a preferred embodiment, the base register that is contained in the indirect address instruction provides an index to a way-prediction table for an n-way associative cache. Data items that are indirectly addressed using the same base register are likely to be related, and thus predicting a particular way in an n-way associative memory based on the base register of an indirect address instruction is likely to result in a cache-hit, thereby reducing the energy consumption associated with accessing all ways in the cache.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 16.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A cache system comprising: a cache memory comprising a plurality of sections, each section of the plurality of sections comprising a plurality of stored lines wherein the cache system is configured to determine, without access to a base address register, whether an addressed data item is located in a corresponding data line of the plurality of stored data lines in a predicted section of the plurality of sections and the predicted section is based upon a portion of an indirect addressing instruction which specifies an address of a base address register.
- Claim 2Depends on #1
The cache system of claim 1 , wherein the cache memory corresponds to an n-way associative cache, each way of the n-way associative cache forming a section of the plurality of sections, the predicted section being a pr
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 16 total)
References Cited — Backward Prior Art (5)
Non-Patent Literature (3)
- "A High Performance and Low-Power Cache Architecture with Speculative Way-Selection", by Koji Inoue et al, published in IEICE Trans. Electron., vol. E83-C, No. 2, Feb. 2000, pp. 186-194.
- Calder B et al: "Predictive Sequential Associative Cache" Proceedings. International Symposium on High-Performance Computer Architecture, XX, XX, Feb. 1996, pp. 244-253, XP000952262 p. 247, left-hand column, paragraph 4-p. 249, left-hand column, paragraph 4.
- Calder B et al: “Predictive Sequential Associative Cache” Proceedings. International Symposium on High-Performance Computer Architecture, XX, XX, Feb. 1996, pp. 244-253, XP000952262 p. 247, left-hand column, paragraph 4—p. 249, left-hand column, paragraph 4.