The Effect of Compiler Optimizations on Pentium 4 Power Consumption

  • Authors:
  • John S. Seng;Dean M. Tullsen

  • Affiliations:
  • -;-

  • Venue:
  • INTERACT '03 Proceedings of the Seventh Workshop on Interaction between Compilers and Computer Architectures
  • Year:
  • 2003

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper examines the effect of compiler optimizationson the energy usage and power consumption of the IntelPentium 4 processor. We measure the effects of differentlevels of general optimization and specific optimization. Weclassify general optimizations as those compiler flags whichenable a set of compiler optimizations. Specific optimizationsare those which can be enabled and disabled individually.The three specific optimizations we study are loopunrolling, loop vectorization, and function inlining. The binariesused in this study are generated using the Intel C++compiler, which allows fine-grained control over each ofthese specific optimizations.