Demote instruction for relinquishing cache line ownership
First Claim
Patent Images
1. A computer system for relinquishing, by a selected processor, the selected processor'"'"'s own exclusive ownership of a specified cache line, the system comprising:
- a multi-processor system comprising the selected processor, each processor of the multi-processor system comprising a private cache, the selected processor being an out-of-order processor comprising a pipeline and a selected private cache, the selected processor configured to perform a method comprising;
executing, by the selected processor, a demote instruction of a software program, the demote instruction specifying a logical address of the specified cache line, the executing the demote instruction by the selected processor causing a method to be performed comprising;
translating, by the selected processor, the logical address to a cache address;
based on the demote instruction specified logical address, determining, by the selected processor, whether the specified cache line is exclusively owned in the selected private cache of the selected processor; and
based on the demote instruction in the pipeline not being in an incorrectly predicted branch path, and no older instruction, older than the demote instruction, in the pipeline not completing due to being flushed from the pipeline, and the selected processor determining that the specified cache line is exclusively owned in the selected private cache of the selected processor, relinquishing exclusive ownership, in the selected private cache, of the specified cache line by the selected processor.
2 Assignments
0 Petitions
Accused Products
Abstract
A computer system processor of a multi-processor computer system having a cache subsystem, the computer system having exclusive ownership of a cache line, executes a demote instruction to cause its own exclusively owned cache line to become shared or read-only in the computer processor cache.
32 Citations
7 Claims
-
1. A computer system for relinquishing, by a selected processor, the selected processor'"'"'s own exclusive ownership of a specified cache line, the system comprising:
a multi-processor system comprising the selected processor, each processor of the multi-processor system comprising a private cache, the selected processor being an out-of-order processor comprising a pipeline and a selected private cache, the selected processor configured to perform a method comprising; executing, by the selected processor, a demote instruction of a software program, the demote instruction specifying a logical address of the specified cache line, the executing the demote instruction by the selected processor causing a method to be performed comprising; translating, by the selected processor, the logical address to a cache address; based on the demote instruction specified logical address, determining, by the selected processor, whether the specified cache line is exclusively owned in the selected private cache of the selected processor; and based on the demote instruction in the pipeline not being in an incorrectly predicted branch path, and no older instruction, older than the demote instruction, in the pipeline not completing due to being flushed from the pipeline, and the selected processor determining that the specified cache line is exclusively owned in the selected private cache of the selected processor, relinquishing exclusive ownership, in the selected private cache, of the specified cache line by the selected processor. - View Dependent Claims (2, 3, 4, 5, 6, 7)
Specification