Optimizing code through iterative specialization

  • Authors:
  • Minhaj Ahmad Khan;Henri-Pierre Charles;Denis Barthou

  • Affiliations:
  • Univ. of Versailles, France;Univ. of Versailles, France;Univ. of Versailles, France

  • Venue:
  • Proceedings of the 2008 ACM symposium on Applied computing
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

Code specialization is a way to obtain significant improvement in the performance of an application. It works by exposing values of different parameters in source code. The availability of these specialized values enables the compilers to generate better optimized code. Although most of the efficient source code implementations contain specialized code to benefit from these optimizations, the real impact of specialization may however vary depending upon the value of the specializing parameter. In this paper, we suggest the specialization of code to acquire an iterative approach. For some specialized code, we search for a better version of code by re-specializing the code, followed by a low-level code analysis. The specialized versions fulfilling the required criteria are then transformed to generate another equivalent version of the original specialized code. The approach has been tested on Itanium-II architecture using icc compiler. The results show significant improvement in the performance of different behchmarks.