Invention Grant
- Patent Title: Lock address contention predictor
-
Application No.: US15273304Application Date: 2016-09-22
-
Publication No.: US11868818B2Publication Date: 2024-01-09
- Inventor: Gregory W. Smaus , John M. King , Matthew A. Rafacz , Matthew M. Crum
- Applicant: Advanced Micro Devices, Inc.
- Applicant Address: US CA Sunnyvale
- Assignee: Advanced Micro Devices, Inc.
- Current Assignee: Advanced Micro Devices, Inc.
- Current Assignee Address: US CA Sunnyvale
- Agency: Volpe Koenig
- Main IPC: G06F9/52
- IPC: G06F9/52 ; G06F9/50

Abstract:
Techniques for selectively executing a lock instruction speculatively or non-speculatively based on lock address prediction and/or temporal lock prediction. including methods an devices for locking an entry in a memory device. In some techniques, a lock instruction executed by a thread for a particular memory entry of a memory device is detected. Whether contention occurred for the particular memory entry during an earlier speculative lock is detected on a condition that the lock instruction comprises a speculative lock instruction. The lock is executed non-speculatively if contention occurred for the particular memory entry during an earlier speculative lock. The lock is executed speculatively if contention did not occur for the particular memory entry during an earlier speculative lock.
Public/Granted literature
- US20180081544A1 LOCK ADDRESS CONTENTION PREDICTOR Public/Granted day:2018-03-22
Information query