Auto parallelization of zero-trip loops through the induction variable substitution
Abstract
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.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 16 · Forward citations: 5.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A data processing system having a processor and a memory for auto parallelization of zero-trip loops through induction variable substitution, the memory having program code that is operable by the processor to perform steps of: detecting basic induction variables in an inner loop; identifying nested induction variables within the basic induction variables for an outer loop; substituting an induction variable in the inner loop for the nested induction variables of the outer loop, wherein substituting comprises adding a max operator; performing loop normalization; and removing means for removing
- Claim 2Depends on #1
The data processing system of claim 1 , further comprising: performing loop normalization of the outer loop; and removing the induction variable from the outer loop.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (16)
Non-Patent Literature (5)
- Pottenger et al., "Induction Variable Substitution and Reduction Recognition in the Polaris Parallelizing Compiler", 1995, Master of Science in Thesis in Computer Science, University of Illinois at Urbana-Champaign, pp. 1-70.
- Pottenger et al.,"Idiom Recognition in the Polaris Parallelizing Compiler", 1995, Proceedings of the 9th International Conference on Supercomputing, pp. 444-448.
- Response to Non-Final Office Action dated Mar. 26, 2008 for U.S. Appl. No. 10/926,594, 8 pages.
- USPTO Non-Final Office Action dated Dec. 26, 2007 for U.S. Appl. No. 10/926,594, 10 pages.
- USPTO Notice of Allowance dated Sep. 23, 2008 for U.S. Appl. No. 10/926,594, 8 pages.