发明授权
US07373482B1 Software-based technique for improving the effectiveness of prefetching during scout mode
有权
基于软件的技术,用于提高侦察模式下预取的有效性
- 专利标题: Software-based technique for improving the effectiveness of prefetching during scout mode
- 专利标题(中): 基于软件的技术,用于提高侦察模式下预取的有效性
-
申请号: US11139708申请日: 2005-05-26
-
公开(公告)号: US07373482B1公开(公告)日: 2008-05-13
- 发明人: Lawrence A. Spracklen , Yuan C. Chou , Santosh G. Abraham
- 申请人: Lawrence A. Spracklen , Yuan C. Chou , Santosh G. Abraham
- 申请人地址: US CA Santa Clara
- 专利权人: Sun Microsystems, Inc.
- 当前专利权人: Sun Microsystems, Inc.
- 当前专利权人地址: US CA Santa Clara
- 代理机构: Park, Vaughan & Fleming LLP
- 主分类号: G06F9/30
- IPC分类号: G06F9/30 ; G06F9/40 ; G06F15/00
摘要:
One embodiment of the present invention provides a system that improves the effectiveness of prefetching during execution of instructions in scout mode. During operation, the system executes program instructions in a normal-execution mode. Upon encountering a condition which causes the processor to enter scout mode, the system performs a checkpoint and commences execution of instructions in scout mode, wherein the instructions are speculatively executed to prefetch future memory operations, but wherein results are not committed to the architectural state of a processor. During execution of a load instruction during scout mode, if the load instruction is a special load instruction and if the load instruction causes a lower-level cache miss, the system waits for data to be returned from a higher-level cache before resuming execution of subsequent instructions in scout mode, instead of disregarding the result of the load instruction and immediately resuming execution in scout mode. In this way, the data returned from the higher-level cache can help in generating addresses for subsequent prefetches during scout mode.
信息查询