Link Stack Repair of Erroneous Speculative Update
AssigneeQUALCOMM Incorporated
InventorsJames Norris Dieffenderfer, Brian Michael Stempel, Rodney Wayne Smith
Life of this patent
Estimating the term…
Loading patent…
AssigneeQUALCOMM Incorporated
InventorsJames Norris Dieffenderfer, Brian Michael Stempel, Rodney Wayne Smith
Estimating the term…
Whenever a link address is written to the link stack, the prior value of the link stack entry is saved, and is restored to the link stack after a link stack push operation is speculatively executed following a mispredicted branch. This condition is detected by maintaining a count of the total number of uncommitted link stack write instructions in the pipeline, and a count of the number of uncommitted link stack write instructions ahead of each branch instruction. When a branch is evaluated and determined to have been mispredicted, the count associated with it is compared to the total count. A discrepancy indicates a link stack write instruction was speculatively issued into the pipeline after the mispredicted branch instruction, and pushed a link address onto the link stack. The prior link address is restored to the link stack from the link stack restore buffer.
A method of managing a link stack comprising a plurality of entries, each entry operative to store a link address, the method comprising:
A processor comprising:
A system for managing a link stack comprising a plurality of entries, each entry operative to store a link address, the system comprising:
A non-transitory computer-readable storage medium comprising code, which, when executed by a processor, causes the processor to perform operations for managing a link stack comprising a plurality of entries, each entry operative to store a link address, the non-transitory computer-readable storage medium comprising:
Dependencies are inferred from the claim text.