Compiler-based optimizations impact on embedded software power consumption

Mostafa E. A. Ibrahim, Markus Rupp, S. E.-D. Habib
2009 2009 Joint IEEE North-East Workshop on Circuits and Systems and TAISA Conference  
Compilers traditionally are not exposed to the energy details of the processor. In this paper, we present a quantitative study wherein we examine the influence of the global performance optimizations -o0 to -o3, of the code composer studio C/C++ compiler, on the energy and power consumption. The results show that the most aggressive performance optimization option -o3 reduce the execution time, on average, by 95%, while it increases the power consumption by 25%. Moreover, we inspect the
more » ... tions effect on some other execution characteristics, such as the memory references and the data cache miss rate. The results show that the memory references decreases by 94%, while the IPC increases by 250% and consequently lead to the consumed power increase.
doi:10.1109/newcas.2009.5290480 fatcat:gfx6cvyjsbdbvi5766wnqi5a2q