Any half decent ARM C compilers should. Ours does for sure because I put it
in :-) and I am sure GCC/IAR/GH/ADS do too. I would be really surprise if
Keil doesn't etc. So that covers everybody.
The branch tradeoff point is about 3 instructions so short bodies are good
but really, don't worry it, just write code naturally and let the compiler
does its job.
At 11:07 PM 4/18/2005, you wrote:
>Does any of available C compilers support the conditional execution of
>the ARM instructions?
>Is there any rules, how to arrange the C code, to be sure, that it
>will be translated to a strait segment of code, only with conditional
>execution and without branches?
// richard (This email is for mailing lists. To reach me directly, please
use richard at imagecraft.com)