Title :
The effect of compiler optimizations on Pentium 4 power consumption
Author :
Seng, John S. ; Tullsen, Dean M.
Author_Institution :
Dept. of Comput. Sci. & Eng., Univ. of California, La Jolla, CA, USA
Abstract :
This paper examines the effect of compiler optimizations on the energy usage and power consumption of the Intel Pentium 4 processor. We measure the effects of different levels of general optimization and specific optimization. We classify general optimizations as those compiler flags which enable a set of compiler optimizations. Specific optimizations are those which can be enabled and disabled individually. The three specific optimizations we study are loop unrolling, loop vectorization, and function inlining. The binaries used in this study are generated using the Intel C++ compiler, which allows fine-grained control over each of these specific optimizations.
Keywords :
C++ language; microprocessor chips; optimising compilers; performance evaluation; power consumption; program control structures; Intel C++ compiler; Pentium 4; compiler flags; compiler optimizations; fine-grained control; function inlining; loop unrolling; loop vectorization; power consumption; Circuits; Clocks; Computational modeling; Computer architecture; Computer science; Energy consumption; Microprocessors; Optimizing compilers; Power engineering and energy; Power measurement;
Conference_Titel :
Interaction Between Compilers and Computer Architectures, 2003. INTERACT-7 2003. Proceedings. Seventh Workshop on
Print_ISBN :
0-7695-1889-3
DOI :
10.1109/INTERA.2003.1192355