SPECULATIVE RETIREMENT OF POST-LOCK INSTRUCTIONS

Techniques for improving execution of a lock instruction are provided herein. A lock instruction and younger instructions are allowed to speculatively retire prior to the store portion of the lock instruction committing its value to memory. These instructions thus do not have to wait for the lock in...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: KING, John M, SMAUS, Gregory W, RAFACZ, Matthew A, ACHENBACH, Michael D, BAMFORD, Noah, LEPAK, Kevin M
Format: Patent
Sprache:eng ; fre
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:Techniques for improving execution of a lock instruction are provided herein. A lock instruction and younger instructions are allowed to speculatively retire prior to the store portion of the lock instruction committing its value to memory. These instructions thus do not have to wait for the lock instruction to complete before retiring. In the event that the processor detects a violation of the atomic or fencing properties of the lock instruction prior to committing the value of the lock instruction, the processor rolls back state and executes the lock instruction in a slow mode in which younger instructions are not allowed to retire until the stored value of the lock instruction is committed. Speculative retirement of these instructions results in increased processing speed, as instructions no longer need to wait to retire after execution of a lock instruction. L'invention concerne des techniques pour améliorer l'exécution d'une instruction de verrouillage. Le retrait spéculatif d'une instruction de verrouillage et d'instructions plus récentes est autorisé avant que la partie de stockage de l'instruction de verrouillage consigne sa valeur en mémoire. Ces instructions n'ont donc pas besoin d'attendre que l'instruction de verrouillage soit achevée avant le retrait. Au cas où le processeur détecte une violation des propriétés atomiques ou de clôturage de l'instruction de verrouillage avant de consigner la valeur de l'instruction de verrouillage, le processeur réalise un retour en arrière et exécute l'instruction de verrouillage dans un mode lent dans lequel le retrait d'instructions plus récentes n'est pas autorisé avant que la valeur stockée de l'instruction de verrouillage soit consignée. Le retrait spéculatif de ces instructions a pour résultat une vitesse de traitement augmentée, car il n'est plus nécessaire d'attendre le retrait d'instructions après l'exécution d'une instruction de verrouillage.