发明申请
US20120226892A1 Method and apparatus for generating efficient code for scout thread to prefetch data values for a main thread
审中-公开
用于生成用于侦察线程的有效代码以预取主线程的数据值的方法和装置
- 专利标题: Method and apparatus for generating efficient code for scout thread to prefetch data values for a main thread
- 专利标题(中): 用于生成用于侦察线程的有效代码以预取主线程的数据值的方法和装置
-
申请号: US11081984申请日: 2005-03-16
-
公开(公告)号: US20120226892A1公开(公告)日: 2012-09-06
- 发明人: Partha P. Tirumalai , Yonghong Song , Spiros Kalogeropulos
- 申请人: Partha P. Tirumalai , Yonghong Song , Spiros Kalogeropulos
- 主分类号: G06F9/38
- IPC分类号: G06F9/38 ; G06F12/08
摘要:
One embodiment of the present invention provides a system that generates code for a scout thread to prefetch data values for a main thread. During operation, the system compiles source code for a program to produce executable code for the program. This compilation process involves performing reuse analysis to identify prefetch candidates which are likely to be touched during execution of the program. Additionally, this compilation process produces executable code for the scout thread which contains prefetch instructions to prefetch the identified prefetch candidates for the main thread. In this way, the scout thread can subsequently be executed in parallel with the main thread in advance of where the main thread is executing to prefetch data items for the main thread.
信息查询