发明名称 Method and apparatus for software scouting regions of a program
摘要 One embodiment of the present invention provides a system that generates code for software scouting the regions of a program. During operation, the system receives source code for a program. The system then compiles the source code. In the first step of the compilation process, the system identifies a first set of loops from a hierarchy of loops in the source code, wherein each loop in the first set of loops contains at least one effective prefetch candidate. Then, from the first set of loops, the system identifies a second set of loops where scout-mode prefetching is profitable. Next, for each loop in the second set of loops, the system produces executable code for a helper-thread which contains a prefetch instruction for each effective prefetch candidate. At runtime the helper-thread is executed in parallel with the main thread in advance of where the main thread is executing to prefetch data items for the main thread.
申请公布号 US2007022412(A1) 申请公布日期 2007.01.25
申请号 US20050272210 申请日期 2005.11.09
申请人 TIRUMALAI PARTHA P;SONG YONGHONG;KALOGEROPULOS SPIROS 发明人 TIRUMALAI PARTHA P.;SONG YONGHONG;KALOGEROPULOS SPIROS
分类号 G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项
地址