Claims
- 1. A method, comprising:dynamically converting an N-way set associative cache into a direct mapped cache at a first time; including removing M least significant bits from a tag address, and adding the M least significant bits to M most significant bits of a set address of the direct-mapped cache; and allowing the direct mapped cache to be converted back into the N-way set associative cache at a second time.
- 2. The method of claim 1, wherein N equals 2 to the power M.
- 3. The method of claim 1, wherein the N-way set associative cache is integrated on a computer chip having an integrated graphics processor and CPU.
- 4. The method of claim 1, wherein the direct mapped cache stores data accessed by a graphics processor.
- 5. The method of claim 4, wherein the N-way set associative cache stores data accessed by a CPU.
- 6. A method, comprising:dynamically converting an N-way set associative cache into a Z×N-way set associative cache at a first time; including providing Y+1 virtual copies of a pseudo-LRU array for the N-way set associative cache, wherein each copy of the Y+1 virtual copies has unique array values and wherein each copy is associated with a most significant bit of a set address, and selecting a virtual copy of the Y+1 virtual copies with Y most significant bits of the set address for the N-way set associative cache; and allowing the Z×N-way set associative cache to be converted back into the N-way set associative cache at a second time.
- 7. The method of claim 6, wherein Z is 2 to the power Y, where Y is greater than or equal to 1.
- 8. The method of claim 6, wherein the Y most significant bits of the set address for the N-way set associative cache become the Y least significant bits of the tag address for the Z×N-way set associative cache.
- 9. The method of claim 8, wherein the N-way set associative cache is integrated on a computer chip having an integrated graphics processor and CPU.
- 10. The method of claim 8, wherein the Z×N-way set associative cache stores data accessed by a graphics processor.
- 11. The method of claim 10, wherein the N-way set associative cache stores data accessed by a CPU.
Parent Case Info
This application is a continuation application of application Ser. No. 09/608,507, filed on Jun. 30, 2000.
US Referenced Citations (12)
Continuations (1)
|
Number |
Date |
Country |
Parent |
09/608507 |
Jun 2000 |
US |
Child |
10/206748 |
|
US |