发明授权
- 专利标题: Method and apparatus for prefetching non-sequential instruction addresses
- 专利标题(中): 用于预取非顺序指令地址的方法和装置
-
申请号: US11461883申请日: 2006-08-02
-
公开(公告)号: US07917731B2公开(公告)日: 2011-03-29
- 发明人: Brian Michael Stempel , Thomas Andrew Sartorius , Rodney Wayne Smith
- 申请人: Brian Michael Stempel , Thomas Andrew Sartorius , Rodney Wayne Smith
- 申请人地址: US CA San Diego
- 专利权人: QUALCOMM Incorporated
- 当前专利权人: QUALCOMM Incorporated
- 当前专利权人地址: US CA San Diego
- 代理商 Nicholas J. Pauley; Peter M. Kamarchik; Jonathan Velasco
- 主分类号: G06F9/32
- IPC分类号: G06F9/32
摘要:
A processor performs a prefetch operation on non-sequential instruction addresses. If a first instruction address misses in an instruction cache and accesses a higher-order memory as part of a fetch operation, and a branch instruction associated with the first instruction address or an address following the first instruction address is detected and predicted taken, a prefetch operation is performed using a predicted branch target address, during the higher-order memory access. If the predicted branch target address hits in the instruction cache during the prefetch operation, associated instructions are not retrieved, to conserve power. If the predicted branch target address misses in the instruction cache during the prefetch operation, a higher-order memory access may be launched, using the predicted branch instruction address. In either case, the first instruction address is re-loaded into the fetch stage pipeline to await the return of instructions from its higher-order memory access.
公开/授权文献
信息查询