Circuits and methods for recovering link stack data upon branch instruction mis-speculation
Abstract
A method of performing operations to a link stack including the step of performing a Pop operation from the link stack which includes the substeps of storing a first pointer value to the link stack, the first pointer value being the value of a pointer to the link stack before the Pop operation, and storing a first address including a first tag popped from the link stack. The method further includes the step of performing a Push operation to the link stack which includes the substeps of storing a second address including a second tag being Pushed into the link stack and storing a second pointer to the link stack, the second pointer being the value of the pointer to the link stack after the Push operation. The method additionally provides for the recovering of the link stack following an instruction flush which includes the substeps of comparing the first pointer value and the second value, comparing the first tag and the second tag, and replacing an address at the top of the link stack with the first address when the first and second pointers match and the first and second tags match.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 13.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method for managing a link stack comprising the steps of: setting a first data value, corresponding to a portion of a first address stored in said link stack, into a first portion of an entry in a queue having a plurality of entries in response to a first type operation; setting a current value of a first pointer of said link stack into a first register in response to a second type operation; and setting said current value of said first pointer into a second portion of said entry in said queue.
- Claim 2Depends on #1
The method of claim 1 further comprising the steps of: reading from said link stack a second address stored at a stack entry at said current value of said first pointer in response to said second type operation; and storing said second address in a second register.
- Claim 3Depends on #2
The method of claim 2 further comprising the steps of: receiving a pointe
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗