hi i want to migrate from arm compiler 5 to 6
compiler 5 uses for following local variable a register (e.g. r0) register unsigned long len;
compiler 6 does not why? which keyword should i use therefore
That is almost certainly due to problems in your source code.
"my source is already optimized"
You can't really optimise a HLL at the source level - certainly not to the point of dictating specific register usage.
If you've tried to do stuff like that at the HLL source lever, it is quite likely counter-productive
You should write the HLL source to be clear & maintainable, and let the compiler do the optimisation.
hi no more comments, you are definite wrong in that case. my code is optimized, i think you first should read some articles about programming...
the fact is C6 creates inefficient code in comparsion to C5.
Come on bro, enlighten us with some of your "optimized code". Arrogance and self awareness seldom go hand in hand !