# US 2008/0307167 A1 · Converting Victim Writeback to a Fill

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

- Number: US 2008/0307167 A1
- Document ID: US20080307167A1
- Status: Published application
- Kind: A1
- Application number: 11/758,275
- Filed: 2007-06-05
- Published: 2008-12-11
- Earliest claimed: 2007-06-05
- Assignees: Apple Inc.
- Inventors: Ramesh Gunna; Sudarshan Kadambi
- Web page: https://patentgrep.com/patent/US20080307167A1

## CPC

- G06F 12/0833: {in combination with broadcast means (e.g. for invalidation or updating)}
- G06F 12/0804: with main memory updating (G06F12/0806 takes precedence)
- G06F 12/1045: associated with a data cache
- G06F 12/126: with special data handling, e.g. priority of data or instructions, handling errors or pinning
- G06F 12/0862: with 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

In one embodiment, a processor may be configured to write ECC granular stores into the data cache, while non-ECC granular stores may be merged with cache data in a memory request buffer. In one embodiment, a processor may be configured to detect that a victim block writeback hits one or more stores in a memory request buffer (or vice versa) and may convert the victim block writeback to a fill. In one embodiment, a processor may speculatively issue stores that are subsequent to a load from a load/store queue, but prevent the update for the stores in response to a snoop hit on the load.

## Claims

### Claim 1

A processor comprising:
a data cache; and
an interface unit comprising a memory request buffer coupled to receive a victim block evicted by the data cache to be written back to memory, wherein the interface unit is configured to convert the victim block writeback into a cache fill for the data cache responsive to detecting at least one store memory operation to the victim block.

### Claim 2 (depends on 1)

The processor as recited in claim 1 wherein the interface unit is configured to write the victim block into the data cache as a cache fill.

### Claim 3 (depends on 1)

The processor as recited in claim 1 wherein the store memory operation is in the memory request buffer upon reception of the victim block by the memory request buffer.

### Claim 4 (depends on 3)

The processor as recited in claim 3 wherein the interface unit is configured to merge the cache block data into the store data corresponding to the store.

### Claim 5 (depends on 1)

The processor as recited in claim 1 wherein the store memory operation is received at the memory request buffer subsequent to receiving the victim block.

### Claim 6 (depends on 5)

The processor as recited in claim 5 wherein the interface unit is configured to merge the store data into the cache block data.

### Claim 7

A method comprising:
receiving a victim block evicted by a data cache in a memory request buffer; and
converting the victim block writeback into a cache fill for the data cache responsive to detecting at least one store memory operation to the victim block.

### Claim 8 (depends on 7)

The method as recited in claim 7 further comprising writing the victim block into the data cache as a cache fill.

### Claim 9 (depends on 7)

The method as recited in claim 7 wherein the store memory operation is in the memory request buffer upon reception of the victim block by the memory request buffer.

### Claim 10 (depends on 9)

The method as recited in claim 9 further comprising merging the cache block data into the store data corresponding to the store.

### Claim 11 (depends on 1)

The method as recited in claim 1 further comprising receiving the store memory operation at the memory request buffer subsequent to receiving the victim block.

### Claim 12 (depends on 11)

The method as recited in claim 11 further comprising merging the store data into the cache block data.
