发明授权
- 专利标题: Branch predicting apparatus and branch predicting method
- 专利标题(中): 分支预测装置和分支预测方法
-
申请号: US11065712申请日: 2005-02-25
-
公开(公告)号: US07320066B2公开(公告)日: 2008-01-15
- 发明人: Megumi Yokoi
- 申请人: Megumi Yokoi
- 申请人地址: JP Kawasaki
- 专利权人: Fujitsu Limited
- 当前专利权人: Fujitsu Limited
- 当前专利权人地址: JP Kawasaki
- 代理机构: Staas & Halsey LLP
- 优先权: JP2004-347194 20041130
- 主分类号: G06F9/38
- IPC分类号: G06F9/38
摘要:
A branch history stores execution history information of branch instructions, and predicts presence of a branch instruction and a corresponding branch destination. A first return address stack stores, when an execution of a call instruction of a subroutine is completed, address information of a return destination of a corresponding return instruction. A second return address stack stores, when presence of a call instruction of a subroutine is predicted, address information of a return destination of a corresponding return instruction. An output selecting unit selects, when presence of a return instruction is predicted, if address information is stored in the second return address stack, the address information as a result of the branch prediction with a highest priority, and outputs the address information selected.
公开/授权文献
- US20060149948A1 Branch predicting apparatus and branch predicting method 公开/授权日:2006-07-06
信息查询