Invention Grant
- Patent Title: Compare-and-swap transaction
-
Application No.: US15427335Application Date: 2017-02-08
-
Publication No.: US10223002B2Publication Date: 2019-03-05
- Inventor: Phanindra Kumar Mannava , Bruce James Mathewson , Klas Magnus Bruce , Geoffray Matthieu Lacourba
- Applicant: ARM Limited
- Applicant Address: GB Cambridge
- Assignee: ARM Limited
- Current Assignee: ARM Limited
- Current Assignee Address: GB Cambridge
- Agency: Nixon & Vanderhye P.C.
- Main IPC: G06F3/06
- IPC: G06F3/06 ; G06F12/06 ; G06F9/52

Abstract:
A compare and swap transaction can be issued by a master device to request a processing unit to select whether to write a swap data value to a storage location corresponding to a target address in dependence on whether a compare data value matches a target data value read from the storage location. The compare and swap data values are transported within a data field of the compare and swap transaction. The compare data value is packed into a first region of the data field in dependence of an offset portion of the target address and having a position within the data field corresponding to the position of the target data value within the storage location. This reduces latency and circuitry required at the processing unit for handling the compare and swap transaction.
Public/Granted literature
- US20180225047A1 COMPARE-AND-SWAP TRANSACTION Public/Granted day:2018-08-09
Information query