Invention Grant
- Patent Title: Link stack repair of erroneous speculative update
- Patent Title (中): 链接堆栈修复错误的推测更新
-
Application No.: US13108227Application Date: 2011-05-16
-
Publication No.: US08438371B2Publication Date: 2013-05-07
- Inventor: James Norris Dieffenderfer , Brian Michael Stempel , Rodney Wayne Smith
- Applicant: James Norris Dieffenderfer , Brian Michael Stempel , Rodney Wayne Smith
- Applicant Address: US CA San Diego
- Assignee: QUALCOMM Incorporated
- Current Assignee: QUALCOMM Incorporated
- Current Assignee Address: US CA San Diego
- Agent Nicholas J. Pauley; Peter Michael Kamarchik; Joseph Agusta
- Main IPC: G06F9/30
- IPC: G06F9/30

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.
Public/Granted literature
- US20110219220A1 Link Stack Repair of Erroneous Speculative Update Public/Granted day:2011-09-08
Information query