RUS  ENG
Full version
JOURNALS // Vestnik Yuzhno-Ural'skogo Universiteta. Seriya Matematicheskoe Modelirovanie i Programmirovanie // Archive

Vestnik YuUrGU. Ser. Mat. Model. Progr., 2017 Volume 10, Issue 3, Pages 120–132 (Mi vyuru391)

This article is cited in 5 papers

Programming & Computer Software

Circular shift of loop body — programme transformation, promoting parallelism

O. B. Shteinberg

South Federal University, Rostov-on-Don, Russian Federation

Abstract: The article deals with the programme transformation executing the circular shift of loop body statements. It can be used for vectorizing or parallelizing. This becomes possible due to the fact that when the order of loop body statements is changed, some of the bottom-up arcs become top-down arcs. Besides, sometimes loop carried dependence arcs are substituted by loop independent ones. It should be pointed out that in executing the circular shift the number of loop iterations is reduced by one. The transformation can be used both independently and in conjunction with other transformations promoting parallelism. These could be "forward substitution", "scalar expansion", "privatization", "array expansion", etc. The transformation under consideration in this article can be used both in hand parallelization and added to a paralleling (optimizing) compiler. Moreover, the application of the transformation results in the equivalent code only for the loops where loop unrolling is the equivalent transformation. Thus, they can contain nested loops, if statements and other programming language statements.

Keywords: parallel computations; programme transformations; dependence graph; scalar expansion; loop distribution.

UDC: 519.685.3

MSC: 68W10

Received: 16.06.2016

Language: English

DOI: 10.14529/mmp170310



Bibliographic databases:


© Steklov Math. Inst. of RAS, 2026