Nothing Special   »   [go: up one dir, main page]

skip to main content
10.5555/517554.825779acmconferencesArticle/Chapter ViewAbstractPublication PagespactConference Proceedingsconference-collections
Article

A Lightweight Algorithm for Dynamic If-Conversion during Dynamic Optimization

Published: 15 October 2000 Publication History

Abstract

Dynamic Optimization is an umbrella term that refers to any optimization of software that is performed after the initial compiles time. It is a complementary optimization opportunity that may greatly improve performance on any computer system, but plays an especially important role in statically scheduled code. Several groups are working on developing dynamic optimization systems, yet the area of dynamic optimization algorithms can still benefit from further research. We introduce a lightweight algorithm that can be used in any modern dynamic optimizer to balance control flow and predication based on actual runtime behavior. In addition, we study the effectiveness of predicting overall runtime behavior based on a small sample size. Preliminary results show that if we skip the warm-up period of programs, profiles based on a small sample size of a particular run can be quite representative of overall runtime behavior (up to 98% correlation). This profile information can be used effectively in a number of dynamic optimizations. We found that our dynamic if-conversion algorithm can use this collated profile data to incorporate actual branch misprediction rates into the if-conversion decision process. This method acts as an effective means for balancing the results of static if-conversion, achieving speedup values of up to 14.7%, and can be easily incorporated into modern dynamic optimizers.

Cited By

View all
  • (2016)Optimality analysis of if-conversion transformationProceedings of the 24th High Performance Computing Symposium10.22360/SpringSim.2016.HPC.041(1-8)Online publication date: 3-Apr-2016
  • (2008)Retargetable code optimization for predicated executionProceedings of the conference on Design, automation and test in Europe10.1145/1403375.1403734(1492-1497)Online publication date: 10-Mar-2008
  • (2007)Profile-assisted Compiler Support for Dynamic Predication in Diverge-Merge ProcessorsProceedings of the International Symposium on Code Generation and Optimization10.1109/CGO.2007.31(367-378)Online publication date: 11-Mar-2007
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Conferences
PACT '00: Proceedings of the 2000 International Conference on Parallel Architectures and Compilation Techniques
October 2000
ISBN:0769506224

Sponsors

Publisher

IEEE Computer Society

United States

Publication History

Published: 15 October 2000

Check for updates

Qualifiers

  • Article

Conference

PACT00
Sponsor:

Acceptance Rates

Overall Acceptance Rate 121 of 471 submissions, 26%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 21 Nov 2024

Other Metrics

Citations

Cited By

View all
  • (2016)Optimality analysis of if-conversion transformationProceedings of the 24th High Performance Computing Symposium10.22360/SpringSim.2016.HPC.041(1-8)Online publication date: 3-Apr-2016
  • (2008)Retargetable code optimization for predicated executionProceedings of the conference on Design, automation and test in Europe10.1145/1403375.1403734(1492-1497)Online publication date: 10-Mar-2008
  • (2007)Profile-assisted Compiler Support for Dynamic Predication in Diverge-Merge ProcessorsProceedings of the International Symposium on Code Generation and Optimization10.1109/CGO.2007.31(367-378)Online publication date: 11-Mar-2007
  • (2006)2D-ProfilingProceedings of the International Symposium on Code Generation and Optimization10.1109/CGO.2006.1(159-172)Online publication date: 26-Mar-2006
  • (2003)IA-32 Execution LayerProceedings of the 36th annual IEEE/ACM International Symposium on Microarchitecture10.5555/956417.956550Online publication date: 3-Dec-2003
  • (2003)Dynamic binary translation for accumulator-oriented architecturesProceedings of the international symposium on Code generation and optimization: feedback-directed and runtime optimization10.5555/776261.776264(25-35)Online publication date: 23-Mar-2003

View Options

View options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media