This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Disappointing optimisation...

Hi,

I'm doing a comparison between BL51 and Lx51 to determine the code space savings- I'm a bit suprised to see that for the same project, Lx51 yields a code reduction of only 0.6%- I've enabled the AJMP/ACALL setting, and altered the optimisation levels (speaking of which, under Lx51 raising the optimsation levels from 9 to the 'new' levels of 10/11 actually increases the code size)

Does anyone have any similar experience of this phenomena- or any suggestion as to what else I should try to get the touted 10-15% reductions available using LX51?

I'm only using the 'BANKAREA' LX51 controls...

Thanks

David

Parents
  • "I was looking to understand why level 10 and 11 seem to make my gnerated .BINs larger"

    If you are able to select levels 10 & 11, I think you must have a product that is entitled to support (unless your support period has expired). In that case, you might be better off contacting Keil support direct.

    I seem to remember from a year or so back that there were some options that could "stick" when increasing the optimisation level; ie, when you thought you'd raised the whole project to level 10 or 11, there could be a few files left still with contradictory options.
    You can check the listing files for this.

Reply
  • "I was looking to understand why level 10 and 11 seem to make my gnerated .BINs larger"

    If you are able to select levels 10 & 11, I think you must have a product that is entitled to support (unless your support period has expired). In that case, you might be better off contacting Keil support direct.

    I seem to remember from a year or so back that there were some options that could "stick" when increasing the optimisation level; ie, when you thought you'd raised the whole project to level 10 or 11, there could be a few files left still with contradictory options.
    You can check the listing files for this.

Children
No data