Peter Sperl

CoreMark of MPC5607B: size optimization runs faster than speed optimization?!

Discussion created by Peter Sperl on Apr 26, 2012
Latest reply on May 1, 2012 by Peter Sperl

Hello Guys,


I'm a student at university of apllied science in Fulda/Germany.


For my Bachelor-Thesis i've executed the CoreMark at MPC5607B with CodeWarrior IDE 5.9.0.

I've chosen several optimization settings at settings... -> Code Generation -> Global Optimizations for size and speed optimization.

At every position, the size optimized application runs FASTER than the speed optimized app.


Does anybody have an idea what causes this fact?

It seems to me, that the check boxes "Faster Execution Speed" and "Smaller Code Size" are interchanged.


In hope for an informative answer