# US 2026/0300180 A1 · Allocation of spare cache reserved during non-speculative execution and speculative execution

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

- Number: US 2026/0300180 A1
- Document ID: US20260300180A1
- Status: Published application
- Kind: A1
- Application number: 19/693,175
- Filed: 2026-05-29
- Published: 2026-10-01
- Earliest claimed: 2019-07-31
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: Steven Jeffrey Wallach
- Web page: https://patentgrep.com/patent/US20260300180A1

## CPC

- G06F 12/0842: for multiprocessing or multitasking
- G06F 2212/601: Reconfiguration of cache memory
- G06F 2212/604: Details relating to cache allocation
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A cache system, having cache sets, a connection to a line identifying an execution type, a connection to a line identifying a status of speculative execution, and a logic circuit that can: allocate a first subset of cache sets when the execution type is a first type indicating non-speculative execution, allocate a second subset when the execution type changes from the first type to a second type indicating speculative execution, and reserve a cache set when the execution type is the second type. When the execution type changes from the second to the first type and the status of speculative execution indicates that a result of speculative execution is to be accepted, the logic circuit can reconfigure the second subset when the execution type is the first type; and allocate the at least one cache set when the execution type changes from the first to the second type.

## Claims

### Claim 1

A system, comprising:
a plurality of cache sets;
a logic circuit coupled to the plurality of cache sets and configured to:
allocate a first subset of the plurality of cache sets to cache data accessed by at least one processor, during execution of first instructions in the at least one processor; and
allocate a second subset of the plurality of cache sets to cache data accessed by the at least one processor, during execution of second instructions in the at least one processor.

### Claim 2 (depends on 1)

The system of claim 1, further comprising:
a logic circuit configured to:
allocate the second subset of the plurality of cache sets to cache data accessed by the at least one processor, during execution of the second instructions in the at least one processor before a result of the execution of the first instructions indicate whether execution of the second instructions is required;
reserve at least one other cache set of the plurality of cache sets during a time period in which the execution of the second instructions and the execution of the first instructions are performed; and
one or more mapping tables, wherein the logic circuit is configured to allocate and reconfigure subsets of the plurality of cache sets using the one or more mapping tables.

### Claim 3 (depends on 1)

The system of claim 1, further comprising:
a plurality of cache set registers associated with the plurality of cache sets, respectively,
wherein the logic circuit is configured to allocate and reconfigure subsets of the plurality of cache sets using the plurality of cache set registers.

### Claim 4 (depends on 3)

The system of claim 3, wherein the first subset of the plurality of cache sets comprises a first cache set, the second subset of the plurality of cache sets comprises a second cache set, and the at least one other cache set comprises a third cache set; and wherein the plurality of cache set registers comprises:
a first cache set register associated with the first cache set, configured to store a first cache set index configured to indicate allocation of the first cache set in a non-speculative mode;
a second cache set register associated with the second cache set, configured to store a second cache set index configured to indicate allocation of the second cache set in a speculative mode; and
a third cache set register associated with the third cache set, configured to store a third cache set index configured to indicate allocation of the third cache set as a spare cache set.

### Claim 5 (depends on 4)

The system of claim 4, wherein the logic circuit is further configured to:
generate a set index based on a memory address received and identification of the speculative mode or the non-speculative mode received from the processor identifying execution type; and
determine whether the set index matches with content stored in the first cache set register, the second cache set register, or the third cache set register.

### Claim 6 (depends on 5)

The system of claim 5, wherein when the result of the execution of the first instructions indicates that the execution of the second instructions is required, the logic circuit is further configured to store the first cache set index in the second cache set register, to have the second cache set used in execution in the non-speculative mode.

### Claim 7 (depends on 6)

The system of claim 6, wherein when the execution type changes and the result of the execution of the first instructions indicates that the execution of the second instructions is required, the logic circuit is further configured to store the second cache set index in the third cache set register, to have the third cache set used in the next execution of the third instructions in the speculative mode.

### Claim 8 (depends on 7)

The system of claim 7, wherein the execution type changes and the result of the execution of the first instructions indicates that the execution of the second instructions is required, the logic circuit is further configured to store the third cache set index in the first cache set register, to have the first cache set used as a spare cache set.

### Claim 9

A system, comprising:
a plurality of cache sets; and
a logic circuit configured to:
allocate, from the plurality of cache sets, a first subset of cache sets used in caching operations performed during execution of first instructions by a processor; and
allocate, from the plurality of cache sets, a second subset of cache sets used in caching operations performed during execution of second instructions by the processor;
when a result of the execution of the first instructions leads to execution of the second instructions, allocate the third subset used in caching operations performed during next of third instructions by the processor.

### Claim 10 (depends on 9)

The system of claim 9, further comprising:
a logic circuit configured to:
allocate, from the plurality of cache sets, the second subset of cache sets used in caching operations performed during execution of the second instructions by the processor, before a result of the execution of the first instructions indicate whether execution of the second instructions is required;
reserve, from the plurality of cache sets, a third subset of cache sets during a time period in which the execution of the second instructions and the execution of the first instructions are performed; and
one or more mapping tables, wherein the logic circuit is configured to allocate and reconfigure subsets of the plurality of cache sets using the one or more mapping tables.

### Claim 11 (depends on 9)

The system of claim 9, further comprising:
a plurality of cache set registers associated with the plurality of cache sets respectively,
wherein the logic circuit is configured to allocate and reconfigure subsets of the plurality of cache sets using the plurality of cache set registers.

### Claim 12 (depends on 11)

The system of claim 11, wherein the first subset comprises a first cache set, the second subset comprises a second cache set, and the third subset comprises a third cache set; and
wherein the plurality of cache set registers comprises:
a first cache set register associated with the first cache set, configured to store a first cache set index configured to indicate allocation of the first cache set to a non-speculative execution of the first instructions;
a second cache set register associated with the second cache set, configured to store a second cache set index configured to indicate allocation of the second cache set to a speculative execution of the second instructions; and
a third cache set register associated with the third cache set, configured to store a third cache set index configured to indicate allocation of the third cache set as a spare cache set.

### Claim 13 (depends on 12)

The system of claim 12, wherein the logic circuit is further configured to:
generate a set index based on a memory address received from a processor and identification of the speculative execution or the non-speculative execution received from the processor identifying execution type; and
determine whether the set index matches with content stored in the first cache set register, the second cache set register, or the third cache set register.

### Claim 14 (depends on 13)

The system of claim 13, wherein when the result of the non-speculative execution of the first instructions leads to execution of the second instructions, the logic circuit is further configured to:
store the first cache set index in the second cache set register, to have the second cache set used in the non-speculative execution of instructions.

### Claim 15 (depends on 14)

The system of claim 14, wherein when the result of the non-speculative execution of the first instructions leads to execution of the second instructions, the logic circuit is further configured to:
store the second cache set index in the third cache set register, to have the third cache set used in the next speculative execution of the third instructions.

### Claim 16 (depends on 15)

The system of claim 15, wherein when the result of the non-speculative execution of the first instructions leads to execution of the second instructions, the logic circuit is further configured to:
store the third cache set index in the first cache set register, to have the first cache set used as a spare cache set.

### Claim 17

A system, comprising:
a plurality of cache sets comprising a first cache set, a second cache set, and a third cache set;
a logic circuit configured to:
allocate the first cache set to cache first data from a portion of memory accessed by execution of first instructions by a processor; and
allocate the second cache set to cache second data from a portion of the memory accessed by execution of second instructions by the processor;
in response to accepting, based on a result in the execution of the first instructions, the execution of the second instructions, allocate the third cache set to cache third data from a portion of the memory accessed by next execution of third instructions by the processor.

### Claim 18 (depends on 17)

The system of claim 17, further comprising:
a logic circuit configured to:
allocate the second cache set to cache the second data from a portion of the memory accessed by execution of the second instructions by the processor, before a result of the execution of the first instructions indicate whether execution of the second instructions is required;
reserve the third cache set during a time period in which the execution of the first instructions and the execution of the second instructions are performed; and
one or more mapping tables, wherein the logic circuit is configured to allocate and reconfigure subsets of the plurality of cache sets using the one or more mapping tables.

### Claim 19 (depends on 18)

The system of claim 18, further comprising:
a plurality of cache set registers associated with the plurality of cache sets respectively, wherein the logic circuit is configured to allocate and reconfigure subsets of the plurality of cache sets using the plurality of cache set registers.

### Claim 20 (depends on 17)

The system of claim 17, wherein the plurality of cache set registers comprises:
a first cache set register associated with the first cache set, configured to store a first cache set index configured to indicate allocation of the first cache set to a non-speculative execution of the first instructions;
a second cache set register associated with the second cache set, configured to store a second cache set index configured to indicate allocation of the second cache set to a speculative execution of the second instructions; and
a third cache set register associated with the third cache set, configured to store a third cache set index configured to indicate allocation of the third cache set as a spare cache set.
