Texas Instruments Incorporated
METHODS AND APPARATUS TO FACILITATE ATOMIC COMPARE AND SWAP IN CACHE FOR A COHERENT LEVEL 1 DATA CACHE SYSTEM
Last updated:
Abstract:
Methods, apparatus, systems and articles of manufacture to facilitate atomic compare and swap in cache for a coherent level 1 data cache system are disclosed. An example system includes a cache storage; a cache controller coupled to the cache storage wherein the cache controller is operable to: receive a memory operation that specifies a key, a memory address, and a first set of data; retrieve a second set of data corresponding to the memory address; compare the second set of data to the key; based on the second set of data corresponding to the key, cause the first set of data to be stored at the memory address; and based on the second set of data not corresponding to the key, complete the memory operation without causing the first set of data to be stored at the memory address.
Utility
13 Sep 2021
30 Dec 2021