Lines Matching full:31
23 * This is a pure count, so (1-32) or (0-31) doesn't apply
25 * clz(0x8000_0000) = 0, clz(0xFFFF_FFFF)=0, clz(0) = 32, clz(1) = 31
83 * __fls: Similar to fls, but zero based (0-31)
100 * __ffs: Similar to ffs, but zero based (0-31)
122 " fls.f %0, %1 \n" /* 0:31; 0(Z) if src 0 */ in fls()
123 " add.nz %0, %0, 1 \n" /* 0:31 -> 1:32 */ in fls()
132 * __fls: Similar to fls, but zero based (0-31). Also 0 if no bit set
149 " ffs.f %0, %1 \n" /* 0:31; 31(Z) if src 0 */ in ffs()
150 " add.nz %0, %0, 1 \n" /* 0:31 -> 1:32 */ in ffs()
151 " mov.z %0, 0 \n" /* 31(Z)-> 0 */ in ffs()
160 * __ffs: Similar to ffs, but zero based (0-31)
167 " ffs.f %0, %1 \n" /* 0:31; 31(Z) if src 0 */ in __ffs()
168 " mov.z %0, 0 \n" /* 31(Z)-> 0 */ in __ffs()
181 * @return:[0-31], 32 if all 1's