A method for estimating optimal unrolling times for nested loops

  • Authors:
  • A. Koseki;H. Komastu;Y. Fukazawa

  • Affiliations:
  • -;-;-

  • Venue:
  • ISPAN '97 Proceedings of the 1997 International Symposium on Parallel Architectures, Algorithms and Networks
  • Year:
  • 1997

Quantified Score

Hi-index 0.00

Visualization

Abstract

Loop unrolling is one of the most promising parallelization techniques, because the nature of programs causes most of the processing time to be spent in their loops. Unrolling not only the innermost loop but also outer loops greatly expands the scope for reusing data and parallelizing instructions. Nested-loop unrolling is therefore a very effective way of obtaining a higher degree of parallelism. However, we need a method for measuring the efficiency of loop unrolling that takes account of both the reuse of data and the parallelism between instructions. This paper describes a heuristic algorithm for deciding the number of times and the directions in which loops should be unrolled, through the use of information such as dependence, reuse, and machine resources. Our method is evaluated by applying benchmark tests.