发明授权
- 专利标题: Link stack repair of erroneous speculative update
- 专利标题(中): 链接堆栈修复错误的推测更新
-
申请号: US11867727申请日: 2007-10-05
-
公开(公告)号: US07971044B2公开(公告)日: 2011-06-28
- 发明人: James Norris Dieffenderfer , Brian Michael Stempel , Rodney Wayne Smith
- 申请人: James Norris Dieffenderfer , Brian Michael Stempel , Rodney Wayne Smith
- 申请人地址: US CA San Diego
- 专利权人: QUALCOMM Incorporated
- 当前专利权人: QUALCOMM Incorporated
- 当前专利权人地址: US CA San Diego
- 代理商 Nicholas J. Pauley; Peter M. Kamarchik; Jonathan T. Velasco
- 主分类号: G06F9/30
- IPC分类号: G06F9/30
摘要:
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.
公开/授权文献
- US20090094444A1 Link Stack Repair of Erroneous Speculative Update 公开/授权日:2009-04-09
信息查询