loading...
Continuous Trip Count Profiling for Loop Optimizations in Two-Phase Dynamic Binary Translators
Madrid, Spain February 15-February 15
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/INTERA.2004.1299505Eighth Annual Workshop on Interaction ...
 This Article 
 
PDF
HTML
 
 Share 
   
 Bibliographic References 
   
 Add to: 
 
Digg
Furl
Spurl
Blink
Simpy
Google
Del.icio.us
Y!MyWeb
 
 Search 
   
Youfeng Wu, Intel Corporation
Mauricio Breternitz, Intel Corporation
Tevi Devor, Intel Corporation

Most dynamic binary translators use a two-phase approach to identify and optimize frequently executed code dynamically. In the profiling phase, blocks of code are interpreted or translated without optimization to collect execution frequency information for the blocks. In the optimization phase, frequently executed blocks are grouped into regions and advanced optimizations are applied on them.

This approach implicitly assumes that the initial execution of each block is representative of the block throughout its lifetime. In particular, loop optimizations may use the block frequency information to determine loop trip counts to guide their optimizations. If the trip count information is incorrect, however, a loop may be improperly optimized, and program performance will suffer.

In this paper we show that the initial profile is inadequate at predicting loop trip count information for several integer programs. We propose and evaluate efficient algorithms to continuously profile for trip count. Our result shows that accurate trip count information may be obtained with very low overhead (about 0.5%). This will enable advanced loop optimizations in dynamic binary translators.

Citation:
Youfeng Wu, Mauricio Breternitz, Tevi Devor, "Continuous Trip Count Profiling for Loop Optimizations in Two-Phase Dynamic Binary Translators," interact, pp.3-12, Eighth Annual Workshop on Interaction between Compilers and Computer Architectures (INTERACT'04), 2004
Usage of this product signifies your acceptance of the Terms of Use.


Suggestions