Region pattern-matching hardware prefetcher

US12360907B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12360907-B2
Application numberUS-202217957795-A
CountryUS
Kind codeB2
Filing dateSep 30, 2022
Priority dateSep 30, 2022
Publication dateJul 15, 2025
Grant dateJul 15, 2025

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A method for performing prefetching operations is disclosed. The method includes storing a recorded access pattern indicating a set of accesses for a region; in response to an access within the region, fetching the recorded access pattern; and performing prefetching based on the access pattern.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for performing prefetching operations, the method comprising: in response to observing an access pattern to a first memory region, storing the access pattern as a recorded access pattern; associating a region type with the recorded access pattern and associating the first memory region with the region type; in response to observing a second access pattern in a second memory region, wherein the second access pattern has greater than zero and less than a threshold number of differences from the access pattern, associating the second memory region with the region type; in response to an access within the first memory region, fetching the recorded access pattern for the region type, based on the associating of the first memory region with the region type; and performing prefetching based on the access pattern. 2. The method of claim 1 , wherein associating the recorded access pattern with the region type includes selecting a hashing function that maps both a first memory region and a second memory region to the region type. 3. The method of claim 2 , wherein fetching the recorded access pattern is performed in response to identifying the region type based on a first region address of the first memory region. 4. The method of claim 2 , further comprising identifying the recorded access pattern based on a region type for the first memory region, the identifying comprising performing a lookup in a recorded pattern table that includes entries that map region types to recorded patterns. 5. The method of claim 1 , where performing prefetching based on the access pattern comprises prefetching region subdivisions specified by the access pattern. 6. The method of claim 1 , further comprising: in response to a miss within the region, updating a pattern observation table based on the miss. 7. The method of claim 6 , wherein updating the pattern observation table includes, in response to no pattern observation existing for the region, generating a new pattern observation entry. 8. The method of claim 6 , wherein updating the pattern observation table includes setting an indication for a region subdivision associated with the miss, wherein the indication indicates that the region subdivision is to be prefetched. 9. The method of claim 6 , further comprising evicting a pattern observation entry to a recorded pattern table used for identifying the access pattern based on a region type of a first memory region. 10. The method of claim 1 , wherein the region type is associated with both a first memory region and a second memory region different than the first memory region. 11. A system for performing prefetching operations, the system comprising: a memory; and a prefetcher configured to: in response to observing an access pattern to a first memory region, store the access pattern as a recorded access pattern; associating a region type with the recorded access pattern and associating the first memory region with the region type; in response to observing a second access pattern in a second memory region, wherein the second access pattern has greater than zero and less than a threshold number of differences from the access pattern, associate the second memory region with the region type; in response to an access within the first memory region, fetch the recorded access pattern for the region type, based on the associating of the first memory region with the region type; and performing prefetching into the memory based on the access pattern. 12. The system of claim 11 , wherein associating the recorded access pattern with the region type includes selecting a hashing function that maps both a first memory region and a second memory region to the region type. 13. The system of claim 12 , wherein fetching the recorded access pattern is performed in response to identifying the region type based on a first region address of the first memory region. 14. The system of claim 12 , further comprising identifying the recorded access pattern based on a region type for the first memory region, the identifying comprising performing a lookup in a recorded pattern table that includes entries that map region types to recorded patterns. 15. The system of claim 11 , where performing prefetching based on the access pattern comprises prefetching region subdivisions specified by the access pattern. 16. The system of claim 11 , wherein the prefetcher is further configured to: in response to a miss within the region, update a pattern observation table based on the miss. 17. The system of claim 16 , wherein updating the pattern observation table includes, in response to no pattern observation existing for the region, generating a new pattern observation entry. 18. The system of claim 16 , wherein updating the pattern observation table includes setting an indication for a region subdivision associated with the miss, wherein the indication indicates that the region subdivision is to be prefetched. 19. The system of claim 16 , wherein the prefetcher is further configured to evict a pattern observation entry to a recorded pattern table used for identifying the access pattern based on a region type of a first memory region. 20. A system comprising: a plurality of processing devices; a cache configured to service requests for access to memory made by the plurality of processing devices; and a prefetcher configured to: in response to observing an access pattern to a first memory region, store the access pattern as a recorded access pattern; associate a region type with the recorded access pattern and associate the first memory region with the region type; in response to observing a second access pattern in a second memory region, wherein the second access pattern has greater than zero and less than a threshold number of differences from the access pattern, associate the second memory region with the region type; in response to an access within the first memory region, fetch the recorded access pattern, based on the associating of the first memory region with the region type; and performing prefetching into the cache based on the access pattern. 21. The system of claim 20 , wherein associating the recorded access pattern with the region type includes selecting a hashing function that maps both a first memory region and a second memory region to the region type.

Assignees

Inventors

Classifications

  • Cache access modes · CPC title

  • with multilevel cache hierarchies · CPC title

  • using adaptive policy · CPC title

  • Multiple user address space allocation, e.g. using different base addresses (interprocessor communication G06F15/163) · CPC title

  • Correctness of operation, e.g. memory ordering · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US12360907B2 cover?
A method for performing prefetching operations is disclosed. The method includes storing a recorded access pattern indicating a set of accesses for a region; in response to an access within the region, fetching the recorded access pattern; and performing prefetching based on the access pattern.
Who is the assignee on this patent?
Advanced Micro Devices Inc
What technology area does this patent fall under?
Primary CPC classification G06F12/0862. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Jul 15 2025 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).