CPC G06F 12/12 (2013.01) [G06F 12/0811 (2013.01)] | 23 Claims |
1. A microprocessor, comprising:
a physically-indexed physically-tagged second-level set-associative cache, wherein each entry in the second-level cache is uniquely identified by a set index and a way of the second-level cache;
wherein each entry of the second-level cache holds a generational identifier (GENID);
wherein the second-level cache is configured to:
detect a miss of a physical memory line address in the second-level cache, wherein a set index that selects a set of the second-level cache is obtained from the physical memory line address;
pick a way of the selected set for replacement;
increment the GENID held in the entry in the picked way of the selected set;
form a physical address proxy (PAP) for the physical memory line address with the obtained set index and the picked way, wherein the PAP uniquely identifies the entry in the second-level cache picked for replacement; and
form a generational PAP (GPAP) for the physical memory line address with the PAP and the incremented GENID held in the entry in the picked way of the selected set; and
a load/store unit configured to make available the GPAP as a proxy of the physical memory line address for comparisons with GPAPs of other physical memory line addresses, rather than making comparisons of the physical memory line address itself with the other physical memory line addresses, to determine whether the physical memory line address matches the other physical memory line addresses.
|