Dynamic common sub-expression elimination during scheduling in high-level synthesis

  • Authors:
  • Sumit Gupta;Mehrdad Reshadi;Nick Savoiu;Nikil Dutt;Rajesh Gupta;Alex Nicolau

  • Affiliations:
  • University of California at Irvine;University of California at Irvine;University of California at Irvine;University of California at Irvine;University of California at Irvine;University of California at Irvine

  • Venue:
  • Proceedings of the 15th international symposium on System Synthesis
  • Year:
  • 2002

Quantified Score

Hi-index 0.00

Visualization

Abstract

We introduce a new approach, "Dynamic Common Sub-expression Elimination (CSE)", that dynamically eliminates common sub- expressions based on new opportunities created during scheduling of control-intensive designs. Classical CSE techniques fail to eliminate several common sub-expressions in control-intensive designs due to the presence of a complex mix of control and data-flow. Aggressive speculative code motions employed to schedule control-intensive designs often re-order, speculate and duplicate operations, hence changing the control flow between the operations with common sub-expressions. This leads to new opportunities for applying CSE dynamically. We have implemented dynamic CSE in a high-level synthesis framework called Spark and present results for experiments performed using various combinations of CSE and dynamic CSE. The benchmarks used consist of four functional blocks derived from two moderately complex industrial-strength applications, namely, MPEG-1 and the GIMP image processing tool. Our dynamic CSE techniques result in improvements of up to 22% in the controller size and up to 31% in performance; easily surpassing the improvements obtained by the traditional CSE approach. We also observe an unexpected (and significant) reduction in the number of registers using our approach.