Loop distribution and fusion with timing and code size optimization for embedded DSPs

  • Authors:
  • Meilin Liu;Qingfeng Zhuge;Zili Shao;Chun Xue;Meikang Qiu;Edwin H. -M. Sha

  • Affiliations:
  • University of Texas at Dallas, Richardson, Texas;University of Texas at Dallas, Richardson, Texas;Hong Kong Polytechnic University, Kowloon, Hong Kong;University of Texas at Dallas, Richardson, Texas;University of Texas at Dallas, Richardson, Texas;University of Texas at Dallas, Richardson, Texas

  • Venue:
  • EUC'05 Proceedings of the 2005 international conference on Embedded and Ubiquitous Computing
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

Loop distribution and loop fusion are two e.ective loop transformation techniques to optimize the execution of the programs in DSP applications. In this paper, we propose a new technique combining loop distribution with direct loop fusion, which will improve the timing performance without jeopardizing the code size. We .rst develop the loop distribution theorems that state the legality conditions of loop distribution for multi-level nested loops. We show that if the summation of the edge weights of the dependence cycle satis.es a certain condition, then the statements involved in the dependence cycle can be distributed; otherwise, they should be put in the same loop after loop distribution. Then, we propose the technique of maximum loop distribution with direct loop fusion. The experimental results show that the execution time of the transformed loops by our technique is reduced 21.0compared to the original loops and the code size of the transformed loops is reduced 7.0% on average compared to the original loops.