Patent ID: 11928467
Assignee: APPLE INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
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.