Patents
US 7,487,497 B2#7285948 Most CitedExpiredUnited States (USPTO)Utility

Method and system for auto parallelization of zero-trip loops through induction variable substitution

13Forward Citations (#7285948 Global)
0.8/yrCitation Velocity (#9775061 Global)
3.86Citation PageRank (#5041421 Global)
12Prior Art Cited
3Claims (1 Indep. · 2 Dep.)
0Drawings / Sheets

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: 12 · Forward citations: 13.

Claims (3 — 1 Independent, 2 Dependent)

  1. Claim 1Independent Claim

    A method in a data processing system for auto parallelization of zero-trip loops through induction variable substitution, the method comprising: 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 thereafter removing the max operator, wherein removing eliminates loop dependencies on the induction variable.

  2. Claim 2Depends on #1

    The method of claim 1 , further comprising: performing loop normalization of the outer loop; and removing the induction variable from the outer loop.

  3. Claim 3Depends on #1

    The method of claim 1 , further comprising: substituting at least one additional induction va

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Non-Patent Literature (2)

  • Pottenger "Induction Variable Substitution and Reduction Recognition in the Polaris Parallelizing Compiler", 1995, Master of Science Thesis in Computer Science, University of Illinois at Urbana-Champaign.
  • Pottenger et al. "Idiom Recognition in the Polaris Parallelizing Compiler", 1995, Proceedings of the 9th International Conference on Supercomputing, pp. 444-448.