Accurate simulation and evaluation of code reordering

  • Authors:
  • J. Kalamatianos;D. R. Kaeli

  • Affiliations:
  • Dept. of Electr. & Comput. Eng., Northeastern Univ., Boston, MA, USA;-

  • Venue:
  • ISPASS '00 Proceedings of the 2000 IEEE International Symposium on Performance Analysis of Systems and Software
  • Year:
  • 2000

Quantified Score

Hi-index 0.00

Visualization

Abstract

The need for bridging the ever growing gap between memory and processor performance has motivated research for exploiting the memory hierarchy effectively. An important software solution called code reordering produces a new program layout to better utilize the available memory hierarchy. Many algorithms have been proposed. They differ based on: 1) the code granularity assumed by the reordering algorithm, and 2) the models used to guide code placement. In this paper we present a framework that provides accurate simulation and evaluation of code reordering algorithms on an out-of-order superscalar processor. Our approach allows both profile-guided and compile-time approaches to be simulated. Using a single simulation pass, different graph models are constructed and utilized during code placement. Various combinations of basic block/procedure reordering algorithms can be employed. We discuss the necessary modifications made to a detailed simulator of a processor in order to accurately simulate the optimized code layout.