Perfect pipelining: A new loop parallelization technique

  • Alexander Aiken
  • Alexandru Nicolau
5. Implementation Of Programming Languages

DOI: 10.1007/3-540-19027-9_15

Part of the Lecture Notes in Computer Science book series (LNCS, volume 300)
Cite this paper as:
Aiken A., Nicolau A. (1988) Perfect pipelining: A new loop parallelization technique. In: Ganzinger H. (eds) ESOP '88. ESOP 1988. Lecture Notes in Computer Science, vol 300. Springer, Berlin, Heidelberg

Abstract

Parallelizing compilers do not handle loops in a satisfactory manner. Fine-grain transformations capture irregular parallelism inside a loop body not amenable to coarser approaches but have limited ability to exploit parallelism across iterations. Coarse methods sacrifice irregular forms of parallelism in favor of pipelining (overlapping) iterations. In this paper we present a new transformation, Perfect Pipelining, that bridges the gap between these fine- and coarse-grain transformations while retaining the desirable features of both. This is accomplished even in the presence of conditional branches and resource constraints. To make our claims rigorous, we develop a formalism for parallelization. The formalism can also be used to compare transformations across computational models. As an illustration, we show that Doacross, a transformation intended for synchronous and asynchronous multiprocessors, can be expressed as a restriction of Perfect Pipelining.

Copyright information

© Springer-Verlag 1988

Authors and Affiliations

  • Alexander Aiken
    • 1
  • Alexandru Nicolau
    • 1
  1. 1.Computer Science DepartmentCornell UniversityIthacaUSA

Personalised recommendations