Patent ID: 11972261
Assignee: ADVANCED MICRO DEVICES, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 7:
8. A processing system comprising:
a hardware compare and swap (CAS) module communicatively coupled to a bus, the hardware CAS module to:
perform an atomic operation in response to a first request from a first request agent for the atomic operation to be performed on a data value that is shared among a plurality of request agents and stored at a first memory, and obtain a first result value, the atomic operation including initiating a CAS command via the bus;
store the first result value at a second memory;
perform the atomic operation in response to a second request from a second request agent and obtain a second result value; and
responsive to determining a failure to successfully process one or more of the first request or the second request, repetitively performing the atomic operation, for one or more of the first request or the second request associated with the determined failure.