Claims
- 1. A processor comprising:
A) a first register; B) a means for decoding a Wait for Change instruction; and C) a means for executing a Wait for Change instruction in response to decoding the Wait for Change instruction, wherein:
execution of the Wait for Change instruction terminates when either a contents of a specified location in a memory differs from a contents of the first register or a specified time period has elapsed.
- 2. The processor in claim 1 wherein:
means (C) comprises:
1) a means for comparing the specified location in the memory to the contents of the first register; 2) a means for receiving a cache invalidate signal; and 3) a means for waiting for the cache invalidate signal for a cache line that includes the specified location in the memory when the comparing in means (1) fails.
- 3. A processor comprising:
A) a means for decoding a Lock instruction; and B) a means for executing a Lock instruction in response to decoding the Lock instruction, wherein:
execution of the Lock instruction terminates when either a lock value is written to a specified location in a memory overwriting a non-lock value in the specified location or a specified time period has elapsed.
- 4. The processor in claim 3 wherein: means (B) comprises:
1) a means for testing the specified location in the memory for containing the non-lock value; 2) a means for writing the lock value to the specified location in the memory when the specified location in the memory contains the non-lock value;
3) a means for receiving a cache invalidate signal; and 4) a means for waiting for the cache invalidate signal for a cache line that includes the specified location in the memory when the testing in means (1) fails.
CROSS REFERENCE TO RELATED APPLICATION
[0001] This application is a Divisional of our copending patent application. assigned to the assignee hereof:
[0002] “COMPUTER PROCESSOR READ/ALTER/REWRITE OPTIMIZATION CACHE INVALIDATE SIGNALS” by Bruce E. Hayden et al, filed Jan. 3, 2001, with application Ser. No. 09/752,924.
[0003] This application is related to our copending patent applications assigned to the assignee hereof:
[0004] “GATE CLOSE FAILURE NOTIFICATION FOR FAIR GATING IN A NONUNIFORM MEMORY ARCHITECTURE DATA PROCESSING SYSTEM” by William A. Shelly et al., filed Sep. 30, 1999, with Ser. No. 09/409,456; and
[0005] “GATE CLOSE BALKING FOR FAIR GATING IN A NONUNIFORM MEMORY ARCHITECTURE DATA PROCESSING SYSTEM” by David A. Egolfet al., filed Sep. 30, 1999, with Ser. No. 09/409,811.
Divisions (1)
|
Number |
Date |
Country |
Parent |
09752924 |
Jan 2001 |
US |
Child |
10692101 |
Oct 2003 |
US |