A study of scalar compilation techniques for pipelined supercomputers

  • Authors:
  • Shlomo Weiss;James E. Smith

  • Affiliations:
  • Univ. of Maryland, Baltimore;Cray Research, Inc., Chippewa Falls, WI

  • Venue:
  • ACM Transactions on Mathematical Software (TOMS)
  • Year:
  • 1990

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper studies two compilation techniques for enhancing scalar performance in high-speed scientific processors: software pipelining and loop unrolling. We study the impact of the architecture (size of the register file) and of the hardware (size of instruction buffer) on the efficiency of loop unrolling. We also develop a methodology for classifying software pipelining techniques. For loop unrolling, a straightforward scheduling algorithm is shown to produce near-optimal results when not inhibited by recurrences or memory hazards. Our study indicates that the performance produced with a modified CRAY-1S scalar architecture and a code scheduler utilizing loop unrolling is comparable to the performance achieved by the CRAY-1S with a vector unit and the CFT vectorizing compiler. Finally, we show that the combination of loop unrolling and dynamic software pipelining, as implemented by a decoupled computer, substantially outperforms the vector CRAY-1S.