Invention Application
- Patent Title: LINK STACK REPAIR OF ERRONEOUS SPECULATIVE UPDATE
- Patent Title (中): 链路堆栈修复错误的参数更新
-
Application No.: PCT/US2008/078789Application Date: 2008-10-03
-
Publication No.: WO2009046326A1Publication Date: 2009-04-09
- Inventor: DIEFFENDERFER, James Norris , STEMPEL, Brian Michael , SMITH, Rodney Wayne
- Applicant: QUALCOMM INCORPORATED , DIEFFENDERFER, James Norris , STEMPEL, Brian Michael , SMITH, Rodney Wayne
- Applicant Address: Attn: International Ip Administration 5775 Morehouse Drive San Diego, California 92121 US
- Assignee: QUALCOMM INCORPORATED,DIEFFENDERFER, James Norris,STEMPEL, Brian Michael,SMITH, Rodney Wayne
- Current Assignee: QUALCOMM INCORPORATED,DIEFFENDERFER, James Norris,STEMPEL, Brian Michael,SMITH, Rodney Wayne
- Current Assignee Address: Attn: International Ip Administration 5775 Morehouse Drive San Diego, California 92121 US
- Agency: CICCOZZI, John L.
- Priority: US11/867,727 20071005
- Main IPC: G06F9/38
- IPC: G06F9/38
Abstract:
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.
Information query