Exploitation of parallelism to nested loops with dependence cycles

被引:4
作者
Chang, WL [1 ]
Chu, CP
Ho, M
机构
[1] So Taiwan Univ Technol, Dept Informat Management, Tainan 710, Taiwan
[2] Natl Cheng Kung Univ, Dept Comp Sci & Informat Engn, Tainan 701, Taiwan
关键词
parallelizing compilers; vectorizing compilers; loop optimization; data dependence analysis; dependence cycle; parallelism exploitation;
D O I
10.1016/j.sysarc.2004.06.001
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
In this paper, we analyze the recurrences from the breakability of the dependence links formed in general multi-statements in a nested loop. The major findings include: (1) A sink variable renaming technique, which can reposition an undesired anti-dependence and/or output-dependence link, is capable of breaking an anti-dependence and/or output-dependence link. (2) For recurrences connected by only true dependences, a dynamic dependence concept and the derived technique are powerful in terms of parallelism exploitation. (3) By the employment of global dependence testing, link-breaking strategy, Tarjan's depth-first search algorithm, and a topological sorting, an algorithm for resolving a general multi-statement recurrence in a nested loop is proposed. Experiments with benchmark cited from Vector loops showed that among 134 subroutines tested, 3 had their parallelism exploitation amended by our proposed method. That is, our offered algorithm increased the rate of parallelism exploitation of Vector loops by approximately 2.24%. (C) 2004 Published by Elsevier B.V.
引用
收藏
页码:729 / 742
页数:14
相关论文
共 30 条
  • [1] AUTOMATIC TRANSLATION OF FORTRAN PROGRAMS TO VECTOR FORM
    ALLEN, R
    KENNEDY, K
    [J]. ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1987, 9 (04): : 491 - 542
  • [2] BANERJEE U, 1993, LOOP TRANSFORMATION
  • [3] BANERJEE U, 1997, DEPENDENCE ANAL
  • [4] Banerjee Utpal, 1994, Loop parallelization
  • [5] BIK A, 2001, INTEL TECHNOLOGY J Q, V1, P1
  • [6] Nonlinear and symbolic data dependence testing
    Blume, W
    Eigenmann, R
    [J]. IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 1998, 9 (12) : 1180 - 1194
  • [7] Plugging anti and output dependence removal techniques into loop parallelization algorithm
    Calland, PY
    Darte, A
    Robert, Y
    Vivien, F
    [J]. PARALLEL COMPUTING, 1997, 23 (1-2) : 251 - 266
  • [8] A simple and general approach to parallelize loops with arbitrary control flow and uniform data dependence distances
    Chang, WL
    Chu, CP
    Wu, JH
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2002, 63 (02) : 91 - 98
  • [9] The extension of the I test
    Chang, WL
    Chu, CP
    [J]. PARALLEL COMPUTING, 1998, 24 (14) : 2101 - 2127
  • [10] The generalized Direction Vector I test
    Chang, WL
    Chu, CP
    [J]. PARALLEL COMPUTING, 2001, 27 (08) : 1117 - 1144