Patent ID: 11954038
Assignee: ARM LIMITED
Field: Audio-visual technology (Electrical engineering)
Classification: CPC G  H  Y | IPC G

Claim 4:
5. A data processing system comprising:
a memory system;
a processor; and
a cache system comprising:
a cache configured to store data for use by the processor when performing data processing operations; and
a data encoder associated with the cache and configured to:
encode a block of uncompressed data having a particular data size for storing in the memory system in a compressed format

wherein the processor is configured to, for an array of data to be output from the processor to the memory system:
when the array of data or a portion of the array of data has a data size that is equal to the particular data size, or the array of data is able to be combined with one or more other arrays of data already written to the cache to provide a plurality of arrays of data that together have a data size that is equal to the particular data size:
provide the portion of the array of data that is equal to the particular data size or the array of data from the processor to the data encoder, bypassing the cache, for encoding as or as part of a block of data having the particular data size;

wherein the processor is configured to:
for a plurality of arrays to be output from the processor to the memory system that together have the particular data size:
determine when an array of the plurality of arrays is the final array of the plurality of arrays to be output by the processor;
when the array is the final array, output the array to the data encoder, bypassing the cache; and
when the array is other than the final array, write the array to the cache.