Global modified indicator to reduce power consumption on cache miss
Abstract
A processor includes a cache memory having at least one entry managed according to a copy-back algorithm. A global modified indicator (GMI) indicates whether any copy-back entry in the cache contains modified data. On a cache miss, if the GMI indicates that no copy-back entry in the cache contains modified data, data fetched from memory are written to the selected entry without first reading the entry. In a banked cache, two or more bank-GMIs may be associated with two or more banks. In an n-way set associative cache, n set-GMIs may be associated with the n sets. Suppressing the read to determine if the copy-back cache entry contains modified data improves processor performance and reduces power consumption.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 4.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method of managing a cache including at least one entry managed according to a copy-back algorithm, comprising: updating a global modified bit associated with the cache upon a write to any copy-back cache entry; upon processing a miss, inspecting the global modified bit; and if the global modified bit indicates that no copy-back entry in the cache contains modified data, writing new data to the selected cache entry without first reading the entry to determine whether it contains modified data.
- Claim 2Depends on #1
The method of claim 1 wherein the cache is divided into two or more banks, a bank-global modified bit is associated with each bank, and a selected cache entry is replaced without being read when the associated bank-global modified bit indicates that no copy-back entry in the bank has been written.
- Claim 3Depends on #1
The method of claim 1 wherein the cache is an n-way
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗