skip to main content
article
Free Access

Definitions of dependence distance

Published:01 September 1992Publication History
Skip Abstract Section

Abstract

Data dependence distance is widely used to characterize data dependences in advance optimizing compilers. The standard definition of dependence distance assumes that loops are normalized (have constant lower bounds and a step of 1); there is not a commonly accepted definition for unnormalized loops. We have identified several potential definitions, all of which give the same answer for normalized loops. There are a number of subtleties involved in choosing between these definitions, and no one definition is suitable for all applications.

References

  1. 1 BANERJEE, U. Unimodular transformations of double loops. In Proceedings of the 3rd Workshop on Programming Languages and Compilers for Parallel Computing (Irvine, Calif., Aug. 1990).Google ScholarGoogle Scholar
  2. 2 FEAUTRIER, P. Dataflow analysis of array and scalar references. Int. J. Parall. Programm. 20, 1 (Feb. 1991).Google ScholarGoogle Scholar
  3. 3 MAYDAN, D. E., AMARASINGHE, S. P., AND LAM, M.S. Array data-flow analysis and its use in array privatization. In the ACM "93 Conference on Principles of Programming Languages, (Jan. 1993). ACM, New York. Google ScholarGoogle Scholar
  4. 4 PUGH, W. Uniform techniques for loop optimization. In Proceedings of the 1991 International Conference on Supercomputing (Cologne, Germany, June 1991), 341-352. Google ScholarGoogle Scholar
  5. 5 WOLFE, M. Experiences with data dependence abstractions. In Proceedings of the 1991 International Conference on Supercomputing (Cologne, Germany, June 1991), 321-329. Google ScholarGoogle Scholar
  6. 6 ZIMA, H., AND CHAPMAN, B. Supercompilers for Parallel and Vector Computers. ACM Press, New York, 1991. Google ScholarGoogle Scholar

Index Terms

  1. Definitions of dependence distance

    Recommendations

    Reviews

    Gerald David Chandler

    The advent of vector and other parallel processing computers led to the development of systems for automatically transforming sequential programs into forms that use hardware parallelism. A key element in determining whether loop-reorganizing transformations preserve program semantics is the notion of data dependence distance vectors, which formalizes the idea of how much loop indexes differ for two statements accessing the same element of a subscripted array. Pugh points out that in systems such as KAP and Para frase-2 different definitions of dependence distance are used and that these definitions are not equivalent when loops are not normalized (that is, when the loop index does not start at 1 and have a step of 1). He says this has led to incorrect analysis and transformation of some statements by KAP and Parafrase-2. To clarify these problems, Pugh considers four alternative definitions, two of which incorporate normalizing elements, and concludes that no one definition is best for all cases. This short paper should be clear to a specialist in the field. It is unlikely the paper would be of interest to others, and it could not be understood without considerable background obtained elsewhere.

    Access critical reviews of Computing literature here

    Become a reviewer for Computing Reviews.

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in

    Full Access

    • Published in

      cover image ACM Letters on Programming Languages and Systems
      ACM Letters on Programming Languages and Systems  Volume 1, Issue 3
      Sept. 1992
      104 pages
      ISSN:1057-4514
      EISSN:1557-7384
      DOI:10.1145/151640
      Issue’s Table of Contents

      Copyright © 1992 ACM

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 1 September 1992
      Published in loplas Volume 1, Issue 3

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • article

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader