Title
A Compiler Framework for Recovery Code Generation in General Speculative Optimizations
Abstract
A general framework that integrates both control and data speculation using alias profiling and/or compiler heuristic rules has shown to improve SPEC2000 performance on Itanium systems. However, speculative optimizations require check instructions and recovery code to ensure correct execution when speculation fails at runtime. How to generate check instructions and their associated recovery code efficiently and effectively is an issue yet to be well studied. Also, it is very important that the recovery code generated in the earlier phases integrate gracefully in the later optimization phases. At the very least, it should not hinder later optimizations, thus, ensuring overall performance improvement. This paper proposes a framework that uses an if-block structure to facilitate check instructions and recovery code generation for general speculative optimizations. It allows speculative instructions and their recovery code generated in the early compiler optimization phases to be integrated effectively with the subsequent optimization phases. It also allows multi-level speculation for multi-level pointers and multi-level expression trees to be handled with no additional complexity. The proposed recovery code generation framework has been implemented in the Open Research Compiler (ORC).
Year
DOI
Venue
2004
10.1109/PACT.2004.1
IEEE PACT
Keywords
Field
DocType
proposed recovery code generation,data speculation,general framework,associated recovery code,compiler framework,recovery code generation,general speculative optimizations,later optimizations,recovery code,early compiler optimization phase,check instruction,parallel programming,instruction sets,code generation,compiler optimization
Profile-guided optimization,Dead code elimination,Interprocedural optimization,Threaded code,Programming language,Loop-invariant code motion,Computer science,Parallel computing,Code generation,Real-time computing,Superoptimization,Peephole optimization
Conference
ISBN
Citations 
PageRank 
0-7695-2229-7
4
0.44
References 
Authors
15
5
Name
Order
Citations
PageRank
Jin Lin1674.23
Wei-Chung Hsu271958.87
Pen-Chung Yew31430133.52
Roy Dz-ching Ju432621.37
Tin-Fook Ngai524023.07