29.1.5 __builtin_ctz Built-in Function
Description
Count trailing (low-order) zero bits in x
, considered to be a 32-bit
word.
Prototype
unsigned int __builtin_ctz(x);
Argument
x : 32-bit word to analyse
Return Value
unsigned int : number of trailing zero bits
Assembler Operator/ Machine Instruction
subu d, s, t
and d, s, t
clz d, s
li d, j
subu d, s, j
Error Messages
None.