> Regardless, a good compiler will use CMOV when it can, even for if statements<p>I wouldn't count on it: watch what the compiler outputs closely, and if it matters go ahead and go to ASM instead of playing games with delicate dependencies on specific behaviors of specific versions of certain compilers. GCC 2.95 ring bells?<p>To do otherwise is writing the ASM with the compiler as a code generator <i>that you do not control</i>. Like tying reins to a steering wheel and driving from the trailer, instead of the front seat. Fun but sloppy.