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

code size difference between version 4.22a and 4.23

Hi,

I am using a Samsung chip with cortex-M3 core,when i Build the code using 4.22a version of keil the code size is aroung 498KB at optimization level 1.The same code when i build using 4.23 version with same optimization level is coming around 473Kb.Does anyone can help me telling why this difference is happening.

Thanks in advance,

Regards,
Ramanarayanan

Parents
  • Different uvision versions are likely to have different compiler versions (or possibly have changes to default flags).

    Different compiler versions, or compiler when used with different set of flags, are likely to produce different code.

    That is a reason why (if it's important) people often have to have multiple versions installed at the same time - if a program have been ceritified using one compiler/set of flags, it'll have to continue with that compiler/set of flags just to make sure a change in code generation doesn't introduce a change in program behaviour.

Reply
  • Different uvision versions are likely to have different compiler versions (or possibly have changes to default flags).

    Different compiler versions, or compiler when used with different set of flags, are likely to produce different code.

    That is a reason why (if it's important) people often have to have multiple versions installed at the same time - if a program have been ceritified using one compiler/set of flags, it'll have to continue with that compiler/set of flags just to make sure a change in code generation doesn't introduce a change in program behaviour.

Children