Title :
OptiScope: Performance Accountability for Optimizing Compilers
Author :
Moseley, Tipp ; Grunwald, Dirk ; Peri, Ramesh
Author_Institution :
Dept. of Comput. Sci., Univ. of Colorado, Boulder, CO
Abstract :
Compilers employ many aggressive code transformations to achieve highly optimized code. However, because of complex target architectures and unpredictable optimization interactions, these transformations may not always be beneficial. Current analysis methods measure performance at the application level and ignore optimization effects at the function and loop level. To better measure and understand these effects, we present OptiScope, a compiler independent tool to identify performance opportunities by comparing programs built with different compilers or optimization flags. The analysis includes hundreds of different metrics and uses a novel loop correlation technique for binary programs (produced from the same source by different compilers) to isolate measurements to specific regions. We present several case studies using OptiScope to identify key differences between different compiler suites, versions, and target architectures. The examples demonstrate performance improvement opportunities between 32.5% to 893% on select regions of SPEC 2006 benchmarks.
Keywords :
program compilers; OptiScope; SPEC 2006 benchmarks; binary programs; code transformations; compilers; loop correlation technique; Computer architecture; Computer science; Current measurement; Hardware; Optimization methods; Optimizing compilers; Out of order; Performance analysis; Program processors; Testing;
Conference_Titel :
Code Generation and Optimization, 2009. CGO 2009. International Symposium on
Conference_Location :
Seattle, WA
Print_ISBN :
978-0-7695-3576-0
DOI :
10.1109/CGO.2009.26