4.7.2. __builtin_clz

This builtin function inserts a CLZ instruction or an equivalent code sequence into the instruction stream generated by the compiler. It is functionally equivalent to the intrinsic __clz, except that the return type is int instead of unsigned char.

Note

This builtin function is a GNU compiler extension that is supported by the ARM compiler.

See also

Copyright © 2007, 2010 ARM Limited. All rights reserved.ARM DUI 0348A
Non-Confidential