# US 2026/0252490 A1 · Prefetcher with Multi-Cache Level Prefetches and Feedback Architecture

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0252490 A1
- Document ID: US20260252490A1
- Status: Published application
- Kind: A1
- Application number: 18/577,363
- Filed: 2022-06-03
- Published: 2026-08-27
- Earliest claimed: 2021-07-13
- Assignees: SiFive, Inc.
- Applicants: SiFive, Inc.
- Inventors: Benoy Alexander; Mohit Gopal Wani; John Ingalls
- Web page: https://patentgrep.com/patent/US20260252490A1

## CPC

- G06F 12/0811: with multilevel cache hierarchies
- G06F 12/0862: with prefetch
- G06F 12/0895: of parts of caches, e.g. directory or tag array
- G06F 12/0897: with two or more cache hierarchy levels (with multilevel cache hierarchies G06F12/0811)
- G06F 12/0888: using selective caching, e.g. bypass
- G06F 2212/1024: Latency reduction
- G06F 2212/502: using adaptive policy
- G06F 2212/6026: Prefetching based on access pattern detection, e.g. stride based prefetch
- G06F 2212/6028: Prefetching based on hints or prefetch instructions
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Described is a prefetcher with multi-cache level prefetches and feedback architecture. A processing system includes two or more cache levels, each cache level including miss status holding registers, and a prefetcher connected to each of the two or more cache levels The prefetcher configured to receive feedback from the miss status holding registers at each cache level for previously sent prefetches and control number of prefetches sent for a trained entry to each cache level of the two or more cache levels based on the feedback.

## Claims

### Claim 1

A processing system, comprising:
two or more cache levels, each cache level including miss status holding registers; and
a prefetcher connected to each of the two or more cache levels, the prefetcher configured to:
receive feedback from the miss status holding registers at each cache level for previously sent prefetches; and
control number of prefetches sent for a trained entry to each cache level of the two or more cache levels based on the feedback.

### Claim 2 (depends on 1)

The processing system of claim 1, wherein the feedback includes a fullness indicator of the miss status holding registers at each cache level, the prefetcher configured to:
send prefetches to cache levels of the two or more cache levels which have available miss status holding registers.

### Claim 3 (depends on 2)

The processing system of claim 2, wherein the fullness indicator is a relative indicator allowing the prefetcher to be uninformed of an absolute size of the miss status holding registers at each cache level.

### Claim 4 (depends on 1, 2, 3)

The processing system of any of claims 1-3, wherein the feedback includes a confirmation for the trained entry, the confirmation indicating that a demand load address matches a pending prefetch address, the prefetcher configured to:
send a prefetch for the trained entry to a first cache level of the two or more cache levels; and
send another prefetch for the trained entry to at least a second cache level of the two or more cache levels.

### Claim 5 (depends on 1, 2, 3, 4)

The processing system of any of claims 1-4, wherein the feedback includes a confirmation for the trained entry, the confirmation indicating that the trained entry is prefetching in a proper direction, the prefetcher configured to:
send a prefetch for the trained entry to a first cache level of the two or more cache levels; and
send another prefetch for the trained entry to at least a second cache level of the two or more cache levels.

### Claim 6 (depends on 1, 2, 3, 4, 5)

The processing system of any of claims 1-5, further including a prefetch issue queue, the prefetch issue queue enabling the prefetcher to replay a prefetch if miss status holding registers are exhausted, miss in the page table cache, miss in view of a resource check, or miss in view of a hazard check prior to completion of sending the prefetch.

### Claim 7 (depends on 6)

The processing system of claim 6, wherein the prefetcher can replay the prefetch by converting on-the-fly the prefetch from one cache level to another cache level.

### Claim 8 (depends on 6)

The processing system of claim 6, wherein the prefetcher can replay the prefetch by replaying the prefetch from the prefetch issue queue.

### Claim 9 (depends on 6)

The processing system of claim 6, wherein the prefetch issue queue includes dedicated prefetch slots for each cache level.

### Claim 10 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9)

The processing system of any of claims 1-9, wherein the prefetcher comprises:
a state machine configured to establish trained entries in the prefetcher, each entry having a base address and a stride; and
a forgiveness counter to track number of stride mismatches resulting from demand requests,
wherein the state machine is configured to control moving from a trained state to a non-trained state for a trained entry when the forgiveness counter exceeds a stride mismatch threshold.

### Claim 11 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10)

The processing system of any of claims 1-10, wherein the prefetcher comprises:
a cache hit counter for each cache level, each cache hit counter tracks number of prefetches sent for a trained entry that hit a cache tag established by a demand request,
wherein the prefetcher is configured to stop sending prefetches for the trained entry when the cache hit counter exceeds a cache hit threshold for the associated cache level.

### Claim 12 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)

The processing system of any of claims 1-11, wherein the prefetcher comprises:
a cache hit counter for each cache level, each cache hit counter tracks number of prefetches sent for a trained entry that hit a cache tag established by a demand request,
wherein the prefetcher is configured to invalidate the trained entry for an associated cache level when the cache hit counter exceeds a cache hit threshold for the associated cache level.

### Claim 13 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)

The processing system of any of claims 1-12, wherein the prefetcher comprises:
a first cache level miss status holding registers confirmation or hit-counter for a first cache level, the first cache level miss status holding registers confirmation or hit-counter counts number of demand requests for a trained entry that hit a miss status holding register entry established by first cache level prefetches or counts number of first cache level prefetch requests for a trained entry that hit a miss status holding register entry established by a demand, wherein a first cache level miss status holding registers hit event is generated when the first cache level miss status holding registers confirmation or hit-counter exceeds a first cache level miss status holding registers hit threshold; and
a higher cache level miss status holding registers hit-counter for each higher cache level, each higher cache level miss status holding registers hit-counter counts number of hits by the first cache level prefetches that hit a higher cache level miss status holding registers entry established by higher level prefetches or higher level prefetch that hit a an entry established by a lower cache level prefetches, wherein a higher cache level miss status holding registers hit event is generated when the higher cache level miss status holding registers hit-counter exceeds a higher cache level miss status holding registers hit threshold,
wherein an aggressiveness of the prefetcher is increased upon occurrence of either the first cache level miss status holding registers hit event or the higher cache level miss status holding registers hit event.

### Claim 14

A method for sending prefetches, the method comprising:
receiving, by a prefetcher from miss status holding registers at each cache level of a multi-cache level hierarchy, feedback for previously sent prefetches; and
controlling, by the prefetcher, number of prefetches sent for a trained entry to two or more cache levels in the multi-cache level hierarchy based on the feedback.

### Claim 15 (depends on 14)

The method of claim 14, wherein the feedback includes a fullness indicator of the miss status holding registers at each cache level, and wherein the fullness indicator is a relative indicator allowing the prefetcher to be uninformed of an absolute size of the miss status holding registers at each cache level, the sending further comprising:
sending prefetches to cache levels of the multi-cache level hierarchy which have available miss status holding registers.

### Claim 16 (depends on 14, 15)

The method of any of claims 14-15, wherein the feedback includes a confirmation for the trained entry, the confirmation indicating that a demand load address matches a pending prefetch address, the method further comprising:
sending a prefetch for the trained entry to a first cache level of the multi-cache level hierarchy; and
sending another prefetch for the trained entry to at least a second cache level of the multi-cache level hierarchy.

### Claim 17 (depends on 14, 15, 16)

The method of any of claims 14-16, further comprising:
establishing, by a state machine in the prefetcher, trained entries, each entry having a base address and a stride;
counting, by a forgiveness counter in the prefetcher, number of stride mismatches resulting from demand requests for a trained entry; and
moving from a trained state to a non-trained state for the trained entry when the forgiveness counter exceeds a stride mismatch threshold.

### Claim 18

A prefetcher, comprising:
one or more trained entries for each cache in at least a two-level cache hierarchy, the prefetcher configured to:
receive feedback, from miss status holding registers at each cache of the at least two-level cache hierarchy, for previously sent prefetches; and
control sending, to two or more caches in the at least two-level cache hierarchy, prefetches for a trained entry based on the feedback.

### Claim 19 (depends on 18)

The prefetcher of claim 18, wherein the feedback includes a fullness indicator of the miss status holding registers at each cache level, and wherein the fullness indicator is a relative indicator allowing the prefetcher to be uninformed of an absolute size of the miss status holding registers at each cache level of the at least a two-level cache hierarchy, the prefetcher further configured to:
send prefetches to cache levels of the at least a two-level cache hierarchy which have available miss status holding registers.

### Claim 20 (depends on 18, 19)

The prefetcher of any of claims 18-19, wherein the feedback includes a confirmation for the trained entry, the confirmation indicating that a demand load address matches a pending prefetch address, the prefetcher further configured to:
send a prefetch for the trained entry to a first cache level of the at least a two-level cache hierarchy; and
send another prefetch for the trained entry to at least a second cache level of at least a two-level cache hierarchy.
