DocumentCode :
3525530
Title :
Code reordering and speculation support for dynamic optimization systems
Author :
Nystrom, Erik M. ; Barnes, Ronald D. ; Merten, Matthew C. ; Hwu, Wen-Mei W.
Author_Institution :
Center for Reliable & High Performance Comput., Illinois Univ., Urbana, IL, USA
fYear :
2001
fDate :
2001
Firstpage :
163
Lastpage :
174
Abstract :
For dynamic optimization systems, success is limited by two difficult problems arising from instruction reordering. Following optimization within and across basic block boundaries, both the ordering of exceptions and the observed processor register contents at each exception point must be consistent with the original code. While compilers traditionally utilize global data flow analysis to determine which registers require preservation, this analysis is often infeasible in dynamic optimization systems due to both strict time/space constraints and incomplete code discovery. This paper presents an approach called precise speculation that addresses these problems. The proposed mechanism is a component of our vision for Run-time Optimization ARchitecture, or ROAR, to support aggressive dynamic optimization of programs. It utilizes a hardware mechanism to automatically recover the precise register states when a deferred exception is reported, utilizing the original unoptimized code to perform all recovery. We observe that precise speculation enables a dynamic optimization system to achieve a large performance gain over aggressively optimized base code, while preserving precise exceptions. For an 8-issue EPIC processor, the dynamic optimizer achieves between 3.6% and 57% speedup over a full-strength optimizing compiler that employs profile-guided optimization
Keywords :
data flow analysis; exception handling; instruction sets; optimising compilers; software performance evaluation; EPIC processor; ROAR; Run-time Optimization Architecture; code reordering; data flow analysis; dynamic optimization systems; exception handling; instruction reordering; optimizing compiler; performance gain; precise speculation; processor register contents; profile-guided optimization; Computer aided instruction; Constraint optimization; Data analysis; Dynamic scheduling; Hardware; Optimizing compilers; Performance analysis; Protection; Registers; Runtime;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Parallel Architectures and Compilation Techniques, 2001. Proceedings. 2001 International Conference on
Conference_Location :
Barcelona
ISSN :
1089-796X
Print_ISBN :
0-7695-1363-8
Type :
conf
DOI :
10.1109/PACT.2001.953297
Filename :
953297
Link To Document :
بازگشت