# US 2017/0286118 A1 · Processors, methods, systems, and instructions to fetch data to indicated cache level with guaranteed completion

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

- Number: US 2017/0286118 A1
- Document ID: US20170286118A1
- Status: Published application
- Kind: A1
- Application number: 15/088,327
- Filed: 2016-04-01
- Published: 2017-10-05
- Earliest claimed: 2016-04-01
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: James A. Coleman; Philip C. Arellano; Garrett Drown
- Web page: https://patentgrep.com/patent/US20170286118A1

## CPC

- G06F 9/3802: {Instruction prefetching}
- G06F 9/30043: {LOAD or STORE instructions; Clear instruction}
- G06F 9/30047: {Prefetch instructions; cache control instructions}
- G06F 9/3016: {Decoding the operand specifier, e.g. specifier format}
- G06F 12/0862: with prefetch
- G06F 12/0875: with dedicated cache, e.g. instruction or stack
- G06F 2212/1024: Latency reduction
- G06F 2212/452: Instruction code
- G06F 2212/6028: Prefetching based on hints or prefetch instructions
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A processor of an aspect includes a plurality of caches at a plurality of different cache levels. The processor also includes a decode unit to decode a fetch instruction. The fetch instruction is to indicate address information for a memory location, and the fetch instruction is to indicate a cache level of the plurality of different cache levels. The processor also includes a cache controller coupled with the decode unit, and coupled with a cache at the indicated cache level. The cache controller, in response to the fetch instruction, is to store data associated with the memory location in the cache, wherein the fetch instruction is architecturally guaranteed to be completed. Other processors, methods, systems, and machine-readable storage mediums storing instructions are disclosed.

## Claims

### Claim 1

A processor comprising:
a plurality of caches at a plurality of different cache levels;
a decode unit to decode a fetch instruction, the fetch instruction to indicate address information for a memory location, and the fetch instruction to indicate a cache level of the plurality of different cache levels; and
a cache controller coupled with the decode unit, and coupled with a cache at the indicated cache level, the cache controller, in response to the fetch instruction, to store data associated with the memory location in the cache, wherein the fetch instruction is architecturally guaranteed to be completed.

### Claim 2 (depends on 1)

The processor of claim 1, wherein the fetch instruction is to be performed by the processor as a demand load.

### Claim 3 (depends on 1)

The processor of claim 1, wherein the fetch instruction is to be performed by the processor with a same priority as a load instruction that is to be used to load data from a memory location to an architectural register of the processor.

### Claim 4 (depends on 1)

The processor of claim 1, wherein the decode unit is also to decode a prefetch instruction that is to indicate address information for a memory location, and wherein the prefetch instruction is not architecturally guaranteed to be completed.

### Claim 5 (depends on 1)

The processor of claim 1, wherein the processor is to complete performance of the fetch instruction without storing the data associated with the memory location in any architectural registers of the processor.

### Claim 6 (depends on 1)

The processor of claim 1, wherein the decode unit is to decode the fetch instruction that is to have a cache level indication field to have a value to indicate the cache level.

### Claim 7 (depends on 1)

The processor of claim 1, wherein the decode unit is to decode the fetch instruction that is to indicate the cache level as being any one of at least a level one (L1) data cache and a L1 instruction cache.

### Claim 8 (depends on 7)

The processor of claim 7, wherein the decode unit is to decode the fetch instruction that is to indicate the cache level as being any one of at least the L1 data cache, the L1 instruction cache, a level two (L2) cache, and a level three (L3) cache.

### Claim 9 (depends on 1)

The processor of claim 1, wherein the decode unit is to decode the fetch instruction that is to indicate an amount of the data that is to be stored in the cache.

### Claim 10 (depends on 9)

The processor of claim 9, wherein the fetch instruction is to indicate the amount of the data that is to be stored in the cache as any one of at least four different amounts of data that range from a single cache line to a maximum number of cache lines that fit within a page.

### Claim 11 (depends on 9)

The processor of claim 9, wherein the decode unit is to decode the fetch instruction that is to have a data amount field to have a value to indicate the amount of the data.

### Claim 12 (depends on 1)

The processor of claim 1, further comprising a commit unit, and wherein the commit unit is to commit the fetch instruction before the data associated with the memory location is to have been stored in the cache.

### Claim 13

A method performed by a processor comprising:
receiving, at the processor, a fetch instruction, the fetch instruction indicating address information for a memory location, and the fetch instruction indicating a cache level as being any one of a plurality of different cache levels; and
storing, in response to the fetch instruction, data associated with the memory location in a cache of the processor which is at the indicated cache level, wherein the fetch instruction is architecturally guaranteed to be completed by the processor.

### Claim 14 (depends on 13)

The method of claim 13, further comprising completing performance of the fetch instruction without storing the data associated with the memory location in any architectural registers of the processor.

### Claim 15 (depends on 13)

The method of claim 13, further comprising performing the fetch instruction with a same priority as a load instruction used to load data from a memory location to an architectural register of the processor.

### Claim 16 (depends on 13)

The method of claim 13, further comprising performing the fetch instruction as a demand load.

### Claim 17 (depends on 13)

The method of claim 13, wherein receiving comprises receiving the fetch instruction that indicates an amount of the data.

### Claim 18 (depends on 17)

The method of claim 17, wherein receiving comprises receiving the fetch instruction that is able to indicate the amount of the data as any one of at least four different amounts of data that range from a single cache line to a maximum number of cache lines that fit within a page.

### Claim 19 (depends on 13)

The method of claim 13, wherein receiving comprises receiving the fetch instruction that is able to indicate the cache level as being any one of at least a level one (L1) data cache, an L1 instruction cache, and a level two (L2) cache.

### Claim 20 (depends on 13)

The method of claim 13, further comprising committing the fetch instruction before the data associated with the memory location is stored in the cache.

### Claim 21 (depends on 13)

The method of claim 13, performed while performing a real time application on the processor which is a general-purpose central processing unit (CPU).

### Claim 22

A system to process instructions comprising:
an interconnect;
a processor coupled with the interconnect, the processor including a plurality of caches at a plurality of different cache levels, the processor to receive a fetch instruction, the fetch instruction to indicate address information for a memory location, and to indicate a cache level of a plurality of different cache levels, the processor, in response to the fetch instruction, to store data associated with the memory location in a cache at the indicated cache level, wherein the fetch instruction is architecturally guaranteed to be completed; and
a dynamic random access memory (DRAM) coupled with the interconnect, the DRAM storing instructions of a real time application, the instructions of the real time application including the fetch instruction, the instructions of the real time application to use the fetch instruction to deterministically store the data to the cache at the indicated cache level.

### Claim 23 (depends on 23)

The system of claim 23, wherein the fetch instruction is to indicate an amount of the data.

### Claim 24

An article of manufacture comprising a non-transitory machine-readable storage medium, the non-transitory machine-readable storage medium storing a fetch instruction, the fetch instruction to indicate address information for a memory location, and the fetch instruction to indicate a cache level as being any one of a plurality of different cache levels, the fetch instruction if executed by a machine is to cause the machine to perform operations comprising:
storing data associated with the memory location in a cache of the processor which is at the indicated cache level, wherein the fetch instruction is architecturally guaranteed to be completed by the machine.

### Claim 25 (depends on 24)

The article of manufacture of claim 24, wherein the non-transitory machine-readable storage medium further stores a set of instructions that if executed by the machine cause the machine to implement a real time algorithm, wherein the set of instructions include and use the fetch instruction to deterministically store the data to the indicated cache level, wherein the fetch instruction is to indicate an amount of the data.
