# US 2026/0228009 A1 · Value prediction

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

- Number: US 2026/0228009 A1
- Document ID: US20260228009A1
- Status: Published application
- Kind: A1
- Application number: 19/043,655
- Filed: 2025-02-03
- Published: 2026-08-06
- Earliest claimed: 2025-02-03
- Assignees: Arm Limited
- Applicants: Arm Limited
- Inventors: Robert Douglas CLANCY; Alexander Cole SHULYAK; Zachary Allen KINGSBURY
- Web page: https://patentgrep.com/patent/US20260228009A1

## CPC

- G06F 9/3832: {Value prediction for operands; operand history buffers}
- G06F 9/3836: {Instruction issuing, e.g. dynamic instruction scheduling or out of order instruction execution}
- G06F 9/30058: {Conditional branch instructions}
- G06F 9/3806: {using address prediction, e.g. return stack, branch history buffer}
- G06F 9/3844: {using dynamic branch prediction, e.g. using branch history tables}
- G06F 9/3848: {using hybrid branch prediction, e.g. selection between prediction techniques}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An apparatus comprises value prediction storage providing value prediction entries, each providing a data value prediction associated with a corresponding instruction. Allocation circuitry is provided to control allocation of value prediction entries in the value prediction storage using a value prediction allocation filter comprising a plurality of allocation filter entries, each providing a counter value. The allocation circuitry identifies a target allocation filter entry based on an identifier of a given instruction and an observed data value outcome of the given instruction, and suppresses allocation of a value prediction entry corresponding to the given instruction in the value prediction storage when a target counter value in the target allocation filter entry does not meet an allocation threshold.

## Claims

### Claim 1

An apparatus, comprising
value prediction storage comprising a plurality of value prediction entries, each value prediction entry providing a data value prediction associated with a corresponding instruction;
a value prediction allocation filter comprising a plurality of allocation filter entries, each allocation filter entry providing a counter value; and
allocation circuitry configured to control allocation of value prediction entries in the value prediction storage; wherein
the allocation circuitry is configured to identify a target allocation filter entry based on an identifier of a given instruction and an observed data value outcome of the given instruction; and
the allocation circuitry is configured to suppress allocation of a value prediction entry corresponding to the given instruction in the value prediction storage in response to a determination that a target counter value in the target allocation filter entry does not meet an allocation threshold.

### Claim 2 (depends on 1)

The apparatus according to claim 1, wherein in response to the determination that the target counter value in the target allocation filter entry does not meet the allocation threshold, the allocation circuitry is configured to increment the target counter value with a given probability.

### Claim 3 (depends on 2)

The apparatus according to claim 2, wherein the given probability is less than one.

### Claim 4 (depends on 1)

The apparatus according to claim 1, wherein the allocation circuitry is responsive to a determination that the target counter value in the target allocation filter entry meets the allocation threshold to allocate a new value prediction entry corresponding to the given instruction in the value prediction storage.

### Claim 5 (depends on 1)

The apparatus according to claim 1, wherein the allocation circuitry is responsive to a determination that the target counter value in the target allocation filter entry meets the allocation threshold to reset the target counter value.

### Claim 6 (depends on 5)

The apparatus according to claim 5, wherein the target counter value is a non-saturating counter value having a maximum value equal to the allocation threshold, and the allocation circuitry is configured to increment the target counter to reset the target counter value.

### Claim 7 (depends on 1)

The apparatus according to claim 1, wherein the allocation circuitry is configured to perform a hash function taking a memory address of the given instruction and the observed data value outcome of the given instruction as inputs to obtain a hash value identifying the target allocation filter entry.

### Claim 8 (depends on 7)

The apparatus according to claim 7, wherein the hash function is defined such that the same hash value identifying the same allocation filter entry may be obtained by performing the hash function taking different instructions as inputs.

### Claim 9 (depends on 1)

The apparatus according to claim 1, wherein the plurality of allocation filter entries provide a single bit counter value.

### Claim 10 (depends on 1)

The apparatus according to claim 1, wherein the plurality of allocation filter entries provide a multi-bit counter value.

### Claim 11 (depends on 10)

The apparatus according to claim 10, wherein the plurality of allocation filter entries provide a three bit counter value.

### Claim 12 (depends on 1)

The apparatus according to claim 1, wherein the allocation circuitry is configured to identify the target allocation filter entry based on a branch history indicating branch outcomes of branch instructions executed prior to the given instruction.

### Claim 13 (depends on 12)

The apparatus according to claim 12, wherein the value prediction storage comprises a plurality of value prediction tables;
value prediction entries in at least a subset of the plurality of value prediction tables are associated with a combination of the corresponding instruction and a corresponding branch history;
two or more value prediction tables comprise value prediction entries associated with different lengths of branch history; and
the allocation circuitry is configured to identify the target allocation filter entry in a shared value prediction allocation filter to determine whether to allocate a value prediction entry in a given value prediction table of the two or more value prediction tables, wherein the target allocation filter entry is identified using a length of branch history selected in dependence on the given value prediction table.

### Claim 14 (depends on 1)

The apparatus according to claim 1, wherein the allocation circuitry is configured to decrement counter values provided by one or more allocation filter entries in response to a decrement trigger.

### Claim 15 (depends on 14)

The apparatus according to claim 14, wherein the decrement trigger comprises a determination that at least one type of instruction has been executed a given number of times since a previous decrement trigger.

### Claim 16 (depends on 1)

The apparatus according to claim 1, comprising value prediction circuitry responsive to a target instruction to perform a lookup in the value prediction storage,
wherein each value prediction entry provides a confidence indication associated with the data value prediction; and
in response to identifying a matching value prediction entry corresponding to the target instruction for which the confidence indication exceeds a prediction threshold, the value prediction circuitry is configured to provide the data value prediction of the matching value prediction entry as a predicted outcome of the target instruction.

### Claim 17 (depends on 1)

A system comprising:
the apparatus of claim 1, implemented in at least one packaged chip;
at least one system component; and
a board,
wherein the at least one packaged chip and the at least one system component are assembled on the board.

### Claim 18 (depends on 17)

A chip-containing product comprising the system of claim 17, wherein the system is assembled on a further board with at least one other product component.

### Claim 19

A non-transitory computer-readable medium storing computer-readable code for fabrication of an apparatus comprising:
value prediction storage comprising a plurality of value prediction entries, each value prediction entry providing a data value prediction associated with a corresponding instruction;
a value prediction allocation filter comprising a plurality of allocation filter entries, each allocation filter entry providing a counter value; and
allocation circuitry configured to control allocation of value prediction entries in the value prediction storage; wherein
the allocation circuitry is configured to identify a target allocation filter entry based on an identifier of a given instruction and an observed data value outcome of the given instruction; and
the allocation circuitry is configured to suppress allocation of a value prediction entry corresponding to the given instruction in the value prediction storage in response to a determination that a target counter value in the target allocation filter entry does not meet an allocation threshold.

### Claim 20

A method, comprising
storing a plurality of value prediction entries in value prediction storage, each value prediction entry providing a data value prediction associated with a corresponding instruction;
providing a value prediction allocation filter comprising a plurality of allocation filter entries, each allocation filter entry providing a counter value;
controlling allocation of value prediction entries in the value prediction storage;
identifying a target allocation filter entry based on an identifier of a given instruction and an observed data value outcome of the given instruction; and
suppressing allocation of a value prediction entry corresponding to the given instruction in the value prediction storage in response to a determination that a target counter value in the target allocation filter entry does not meet an allocation threshold.
