Managing aliasing in a virtually indexed physically tagged cache
First Claim
Patent Images
1. A circuit comprising:
- a Virtually Indexed Physically Tagged (VIPT) cache including a plurality of sets, the VIPT cache to perform a memory operation by (i) selecting, using a Virtual Set Address (VSA), a first tag of a first set of the VIPT cache, and (ii) determining whether the first tag maps a physical address to the first set by comparing a plurality of bits of the first tag to a plurality of bits of the physical address; and
a cache coherency circuit to detect cache aliasing during the performance of the memory operation by the VIPT cache,wherein cache aliasing is detected when a second tag maps the physical address to a second set of the VIPT cache, the second set being different from the first set.
4 Assignments
0 Petitions
Accused Products
Abstract
A circuit includes a Virtually Indexed Physically Tagged (VIPT) cache and a cache coherency circuit. The VIPT cache includes a plurality of sets and performs a memory operation by selecting, using a Virtual Set Address (VSA), a first tag of a first set. The cache coherency circuit is to detect cache aliasing during memory operations of the VIPT cache when a second tag maps a physical address to a second set of the VIPT cache, the second set being different than the first set. A method of managing a VIPT cache includes performing, by the VIPT cache, a memory operation and determining, using a cache coherency protocol, that cache aliasing has occurred during the memory operation.
15 Citations
20 Claims
-
1. A circuit comprising:
-
a Virtually Indexed Physically Tagged (VIPT) cache including a plurality of sets, the VIPT cache to perform a memory operation by (i) selecting, using a Virtual Set Address (VSA), a first tag of a first set of the VIPT cache, and (ii) determining whether the first tag maps a physical address to the first set by comparing a plurality of bits of the first tag to a plurality of bits of the physical address; and a cache coherency circuit to detect cache aliasing during the performance of the memory operation by the VIPT cache, wherein cache aliasing is detected when a second tag maps the physical address to a second set of the VIPT cache, the second set being different from the first set. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A method for managing a Virtually Indexed Physically Tagged (VIPT) cache, the method comprising:
-
performing, by the VIPT cache, a memory operation, performing the memory operation including (i) selecting, by the VIPT cache using a Virtual Set Address (VSA), a first tag of a first set of the VIPT cache, and (ii) determining whether the first tag maps a Physical Address (PA) to the first set by comparing a plurality of bits of the first tag to a plurality of bits of the Physical Address; determining, using a cache coherency protocol, that cache aliasing has occurred during the memory operation when a second tag maps the PA to a second set, the second set being different from the first set. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20)
-
Specification