CPC G06F 9/30043 (2013.01) [G06F 9/3004 (2013.01); G06F 9/30087 (2013.01); G06F 9/321 (2013.01); G06F 9/3826 (2013.01); G06F 9/3834 (2013.01); G06F 9/3842 (2013.01); G06F 9/528 (2013.01); G06F 2209/521 (2013.01)] | 20 Claims |
1. A predictor circuit comprising:
a storage circuit configured to store data indicative of previous executions of atomic operations, wherein a given atomic operation specifies a load operation from a memory location, a data operation on first data from the load operation, and a store operation to write second data to the memory location, wherein the store operation is conditional on a result of the data operation, and wherein the given atomic operation is defined to complete unsuccessfully based on the store operation not being performed; and
a control circuit coupled to the storage circuit and to an input configured to indicate that a current execution of an atomic operation is occurring, wherein the control circuit is configured to generate a prediction of whether or not the atomic operation will complete successfully based on the data from the storage circuit, and wherein the control circuit is configured to output the prediction.
|