发明授权
- 专利标题: Method and system for auto parallelization of zero-trip loops through induction variable substitution
- 专利标题(中): 通过感应变量替代自动并联零跳闸回路的方法和系统
-
申请号: US10926594申请日: 2004-08-26
-
公开(公告)号: US07487497B2公开(公告)日: 2009-02-03
- 发明人: Zhixing Ren , Raul Esteban Silvera , Guansong Zhang
- 申请人: Zhixing Ren , Raul Esteban Silvera , Guansong Zhang
- 申请人地址: US NY Armonk
- 专利权人: International Business Machines Corporation
- 当前专利权人: International Business Machines Corporation
- 当前专利权人地址: US NY Armonk
- 代理商 Duke W. Yee; Matthew Talpis; Theodore D. Fay, III
- 主分类号: G06F9/45
- IPC分类号: G06F9/45
摘要:
A method and system of auto parallelization of zero-trip loops that substitutes a nested basic linear induction variable by exploiting a parallelizing compiler is provided. Provided is a use of a max{0,N} variable for loop iterations in case of no information is known about the value of N, for a typical loop iterating from 1 to N, in which N is the loop invariant. For the nested basic induction variables, an induction variable substitution process is applied to the nested loops starting from the innermost loop to the outermost one. Then a removal of the max operator afterwards through a copy propagation pass of the IBM compiler is provided. In doing so, the loop dependency on the induction variable is eliminated and an opportunity for a parallelizing compiler to parallel the outermost loop is provided.
公开/授权文献
信息查询