-
公开(公告)号:US20230205523A1
公开(公告)日:2023-06-29
申请号:US17562853
申请日:2021-12-27
Applicant: ADVANCED MICRO DEVICES, INC.
Inventor: Vydhyanathan KALYANASUNDHARAM , Joseph L. GREATHOUSE , Shyam SEKAR
CPC classification number: G06F9/3004 , G06F9/3001 , G06F9/325 , G06F9/485 , G06F13/4221
Abstract: A system includes a hardware compare and swap (CAS) module communicatively coupled to a bus, the 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 obtain a first result value. The atomic operation includes initiating a CAS command via the bus. The CAS module performs the atomic operation in response to a second request from a second request agent and obtains a second result value. Responsive to determining a failure to successfully process one or more of the first request or the second request, the hardware CAS module repetitively performs the atomic operation, for one or more of the first request or the second request.