IMPLEMENTING ATOMIC PRIMITIVES USING CACHE LINE LOCKING
First Claim
Patent Images
1. A processor comprising:
- a cache, the cache comprising a cache line;
an execution unit to execute an atomic primitive to;
responsive to executing a read instruction to retrieve a data item from a memory location, cause to store a copy of the data item in the cache line;
execute a lock instruction to lock the cache line to the processor;
execute at least one instruction while the cache line is locked to the processor; and
execute an unlock instruction to cause the cache controller to release the cache line from the processor.
1 Assignment
0 Petitions
Accused Products
Abstract
A processor comprising a cache, the cache comprising a cache line, an execution unit to execute an atomic primitive to responsive to executing a read instruction to retrieve a data item from a memory location, cause to store a copy of the data item in the cache line, execute a lock instruction to lock the cache line to the processor, execute at least one instruction while the cache line is locked to the processor, and execute an unlock instruction to cause the cache controller to release the cache line from the processor.
-
Citations
20 Claims
-
1. A processor comprising:
-
a cache, the cache comprising a cache line; an execution unit to execute an atomic primitive to; responsive to executing a read instruction to retrieve a data item from a memory location, cause to store a copy of the data item in the cache line; execute a lock instruction to lock the cache line to the processor; execute at least one instruction while the cache line is locked to the processor; and execute an unlock instruction to cause the cache controller to release the cache line from the processor. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A method of executing an atomic primitive, the method comprising:
-
responsive to executing a read instruction to retrieve a data item from a memory location, causing to store a copy of the data item in a cache line of a cache; executing a lock instruction to lock the cache line to the processor; executing at least one instruction while the cache line is locked to the processor; and executing an unlock instruction to cause the cache controller to release the cache line from the processor. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification