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

Claim 0:
1. A method comprising:
performing, at a hardware compare and swap (CAS) module of a processing system, an atomic operation in response to a first request comprising a data value that is stored at a first memory from a first request agent and obtaining a first result value, the atomic operation including initiating a CAS command via a bus communicatively coupled to the hardware CAS module;
storing the first result value at a second memory;
performing, at the hardware CAS module, the atomic operation for a second request from a second request agent and obtaining 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, at the hardware CAS module, the atomic operation, for one or more of the first request or the second request associated with the determined failure.