Title :
Maximum loop distribution and fusion for two-level loops considering code size
Author :
Liu, Meilin ; Zhuge, Qingfeng ; Shao, Zili ; Xue, Chun ; Qiu, Meikang ; Sha, Edwin H -M
Author_Institution :
Dept. of Comput. Sci., Texas Univ., Dallas, TX, USA
Abstract :
In this paper, we propose a technique combining loop distribution with loop fusion to improve the timing performance without increasing the code size of the transformed loops. We first develop the loop distribution theorems that state the conditions distributing any two-level nested loop in the maximum way. Based on the loop distribution theorems, we design an algorithm to conduct maximum loop distribution. Then we propose a technique of maximum loop distribution with direct loop fusion, which performs maximum loop distribution followed by direct loop fusion. The experimental results show that the execution time of the transformed loops by our technique is reduced 41.9% on average compared to the original loops without the increase of the code size.
Keywords :
parallel algorithms; program control structures; code size; embedded systems; loop distribution theorems; maximum loop distribution; maximum loop fusion; two-level nested loops; Algorithm design and analysis; Computer science; Distributed computing; Fuses; Fusion power generation; Memory management; Parallel architectures; Parallel processing; Timing;
Conference_Titel :
Parallel Architectures,Algorithms and Networks, 2005. ISPAN 2005. Proceedings. 8th International Symposium on
Print_ISBN :
0-7695-2509-1
DOI :
10.1109/ISPAN.2005.58