Advanced Search
CS Search Google Search
Subscribers, please login

Published Articles >> Table of Contents >> Abstract

Eighth Annual Workshop on Interaction between Compilers and Computer Architectures (INTERACT'04)   pp. 3-12
Continuous Trip Count Profiling for Loop Optimizations in Two-Phase Dynamic Binary Translators

Full Article Text: Download PDF of full textBuy this articleGet full text from IEEE Xplore

DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/INTERA.2004.1299505
Send link to a friend

Abstract
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.
Additional Information

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

Similar Articles

Abstract Contents
Abstract
Citation




Free access to

  • Abstracts
  • Selected PDFs

Electronic subscribers login to:

  • Access HTML/PDFs of full text articles

Subscription information

Get a Web account

PDFs require Adobe Acrobat Reader.

Peer Review Notice

Give us Feedback