# US 2026/0088831 A1 · Compression Metadata Value Induced Read and Write Operation Conservation

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

- Number: US 2026/0088831 A1
- Document ID: US20260088831A1
- Status: Published application
- Kind: A1
- Application number: 18/949,366
- Filed: 2024-11-15
- Published: 2026-03-26
- Earliest claimed: 2024-09-24
- Assignees: Apple Inc.
- Applicants: Apple Inc.
- Inventors: Davoud A. Jamshidi; Justin A. Hensley; Tyson J. Bergland; Karthik Ramani
- Web page: https://patentgrep.com/patent/US20260088831A1

## CPC

- H03M 7/6058: {Saving memory space in the encoder or decoder}
- H03M 7/6005: {Decoder aspects}
- H03M 7/6011: {Encoder aspects}
- H03M 7/3059: {Digital compression and data reduction techniques where the original information is represented by a subset or similar information, e.g. lossy compression}
- H03M 7/3073: {Time}
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)

## Abstract

In disclosed embodiments, compression circuitry may compress data blocks and compressed write data blocks and corresponding compression metadata to a certain level in a cache/memory hierarchy. In some embodiments, the compression circuitry is configured to detect a pre-determined set of data values in a block of data to be compressed. In response, the compression circuitry may write a special metadata value for the data block to data storage circuitry to indicate compression of the data block, without writing a compressed version of the data block to the data storage circuitry. This may advantageously improve performance and reduce power consumption for data blocks with certain data values (e.g., having uniform pixel/texel values).

## Claims

### Claim 1

An apparatus, comprising:
first data storage circuitry;
second data storage circuitry;
processor execution circuitry configured to execute instructions that operate on data in the first data storage circuitry; and
compression circuitry configured to:
compress data blocks from the first data storage circuitry for storage in the second data storage circuitry, including to generate metadata that indicates one or more compression parameters for a given compressed data block and store the generated metadata in the second data storage circuitry;
detect a pre-determined set of data values in a block of data to be compressed; and
for the data block determined to have the pre-determined set of data values, write a first metadata value for the data block to the second data storage circuitry to indicate compression of the data block, without writing a compressed version of the data block to the second data storage circuitry.

### Claim 2 (depends on 1)

The apparatus of claim 1, further comprising:
decompression circuitry configured to:
access metadata from the second data storage circuitry to determine the one or more compression parameters to decompress a corresponding data block; and
in response to detection of the first metadata value, generate the pre-determined set of data values for an uncompressed data block for storage in the first data storage circuitry, without reading a data block from the second data storage circuitry.

### Claim 3 (depends on 2)

The apparatus of claim 2, wherein the decompression circuitry is further configured to, in response to detection of a second metadata value, generate a second pre-determined set of data values for a second uncompressed data block for storage in the first data storage circuitry, without reading a second data block from the second data storage circuitry.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein the processor execution circuitry is further configured to execute a software program to write metadata with a second metadata value to the second data storage circuitry, the second metadata value indicating, to decompression circuitry, to generate a second pre-determined set of values for a second uncompressed data block.

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein the compression circuitry includes comparison circuitry configured to compare streaming uncompressed data, for the block of data to be compressed, with one or more pre-determined data values to detect the pre-determined set of data values.

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein:
the compression circuitry supports a first-valid-pixel-fill operation, performed in response to the first metadata value, that replicates a first valid received pixel for a data block prior to compression of the data block; and
the compression circuitry is further configured to determine, in response to detection of the first metadata value and based on a programming interface field in a texture state word, whether to:
perform the first-valid-pixel-fill operation; or
write the first metadata value to the second data storage circuitry without writing a corresponding data block to the second data storage circuitry.

### Claim 7 (depends on 1)

The apparatus of claim 1, wherein:
the apparatus further comprises write buffer control circuitry; and
the processor execution circuitry is further configured to execute a broadcast instruction and send a broadcast command to the write buffer control circuitry, wherein the broadcast command includes the first metadata value and indicates to write the first metadata value to the second data storage circuitry without writing a corresponding data block to the second data storage circuitry.

### Claim 8 (depends on 7)

The apparatus of claim 7, further comprising:
metadata coherence controller circuitry configured to control coherence of the metadata in the second data storage circuitry, including to perform one or more cache maintenance operations in response to the write of the first metadata value to the second data storage circuitry.

### Claim 9 (depends on 1)

The apparatus of claim 1, wherein:
the apparatus further comprises write buffer control circuitry; and
the processor execution circuitry is further configured to execute a broadcast instruction and send a broadcast command to the write buffer control circuitry, the broadcast command including a first pixel value; and
the write buffer control circuitry is configured to propagate the first pixel value to a data block and control the compression circuitry to compress the data block in response to the broadcast instruction.

### Claim 10 (depends on 9)

The apparatus of claim 9, wherein, in response to an encoding of the broadcast instruction for uncompressed data, the write buffer control circuitry is configured to propagate the first pixel value to a data block and write the data block to the second data storage circuitry.

### Claim 11 (depends on 1)

The apparatus of claim 1, wherein:
the processor execution circuitry, compression circuitry, and decompression circuitry are included in a graphics processor; and
the apparatus is a computing device that further includes:
a central processing unit;
a display; and
network interface circuitry.

### Claim 12

A method comprising:
compressing, by compression circuitry, data blocks from first data storage circuitry for storage in second data storage circuitry, including to:
generate metadata that indicates one or more compression parameters for a given compressed data block; and
store the generated metadata in the second data storage circuitry;
detecting, by the compression circuitry, a pre-determined set of data values in a block of data to be compressed; and
writing, for the data block determined to have the pre-determined set of data values, a first metadata value for the data block to the second data storage circuitry to indicate compression of the data block, without writing a compressed version of the data block to the second data storage circuitry.

### Claim 13 (depends on 12)

The method of claim 12, further comprising:
accessing, by decompression circuitry, the metadata from the second data storage circuitry to determine the one or more compression parameters to decompress a corresponding data block; and
in response to detection of the first metadata value, generating the pre-determined set of data values for an uncompressed data block for storage in the first data storage circuitry, without reading a data block from the second data storage circuitry.

### Claim 14 (depends on 12)

The method of claim 12, further comprising:
executing, by processor execution circuitry, a software program to write metadata with a second metadata value to the second data storage circuitry, the second metadata value indicating, to decompression circuitry, to generate a second pre-determined set of values for a second uncompressed data block, the second pre-determined set of values distinct from the pre-determined set of values.

### Claim 15 (depends on 12)

The method of claim 12, further comprising:
executing, by processor execution circuitry, a broadcast instruction; and
sending, by the processor execution circuitry, a broadcast command to write buffer control circuitry, wherein the broadcast command includes the first metadata value and indicates to write the first metadata value to the second data storage circuitry without writing a corresponding data block to the second data storage circuitry.

### Claim 16

A non-transitory computer readable storage medium having stored thereon design information that specifies a design of at least a portion of a hardware integrated circuit in a format recognized by a semiconductor fabrication system that is configured to use the design information to produce the circuit according to the design, including:
first data storage circuitry;
second data storage circuitry;
processor execution circuitry configured to execute instructions that operate on data in the first data storage circuitry;
compression circuitry configured to:
compress data blocks from the first data storage circuitry for storage in the second data storage circuitry, including to generate metadata that indicates one or more compression parameters for a given compressed data block and store the generated metadata in the second data storage circuitry;
detect a pre-determined set of data values in a block of data to be compressed; and for the data block determined to have the pre-determined set of data values, write a first metadata value for the data block to the second data storage circuitry to indicate compression of the data block, without writing a compressed version of the data block to the second data storage circuitry.

### Claim 17 (depends on 16)

The non-transitory computer readable storage medium of claim 16, wherein the design information further specifies:
decompression circuitry configured to:
access metadata from the second data storage circuitry to determine the one or more compression parameters to decompress a corresponding data block; and
in response to detection of the first metadata value, generate the pre-determined set of data values for an uncompressed data block for storage in the first data storage circuitry, without reading a data block from the second data storage circuitry.

### Claim 18 (depends on 17)

The non-transitory computer readable storage medium of claim 17, wherein the decompression circuitry is further configured to, in response to detection of a second metadata value, generate a second pre-determined set of data values for a second uncompressed data block for storage in the first data storage circuitry, without reading a second data block.

### Claim 19 (depends on 16)

The non-transitory computer readable storage medium of claim 16, wherein the design information further specifies that the the compression circuitry includes comparison circuitry configured to compare streaming uncompressed data, for the block of data to be compressed, with one or more pre-determined data values to detect the pre-determined set of data values.

### Claim 20 (depends on 19)

The non-transitory computer readable storage medium of claim 19, wherein the design information further specifies write buffer control circuitry, and wherein:
the processor execution circuitry is further configured to execute a broadcast instruction and send a broadcast command to the write buffer control circuitry, wherein the broadcast command includes the first metadata value and indicates to write the first metadata value to the second data storage circuitry without writing a corresponding data block to the second data storage circuitry.
