发明公开
- 专利标题: METHOD AND APPARATUS FOR MANAGING A RETURN STACK
- 专利标题(中): 方法和装置返回堆栈的管理
-
申请号: EP06735437.3申请日: 2006-02-17
-
公开(公告)号: EP1853995A2公开(公告)日: 2007-11-14
- 发明人: SMITH, Rodney, Wayne , BRIDGES, Jeffrey, Todd , DIEFFENDERFER, James, Norris , SARTORIUS, Thomas, Andrew
- 申请人: Qualcomm Incorporated
- 申请人地址: 5775 Morehouse Drive San Diego, CA 92121 US
- 专利权人: Qualcomm Incorporated
- 当前专利权人: Qualcomm Incorporated
- 当前专利权人地址: 5775 Morehouse Drive San Diego, CA 92121 US
- 代理机构: Heselberger, Johannes
- 优先权: US61975 20050218
- 国际公布: WO2006089188 20060824
- 主分类号: G06F9/38
- IPC分类号: G06F9/38 ; G06F9/42
摘要:
A processor includes a return stack circuit used for predicting procedure return addresses for instruction pre-fetching, wherein a return stack controller determines the number of return levels associated with a given return instruction, and pops that number of return addresses from the return stack. Popping multiple return addresses from the return stack permits the processor to pre-fetch the return address of the original calling procedure in a chain of successive procedure calls. In one embodiment, the return stack controller reads the number of return levels from a value embedded in the return instruction. A complementary compiler calculates the return level values for given return instructions and embeds those values in them at compile-time. In another embodiment, the return stack circuit dynamically tracks the number of return levels by counting the procedure calls (branches) in a chain of successive procedure calls.
公开/授权文献
- EP1853995B1 METHOD AND APPARATUS FOR MANAGING A RETURN STACK 公开/授权日:2010-08-04
信息查询