Searched refs:lz (Results 1 – 4 of 4) sorted by relevance
95 int exp, mant, lz, frac; in elog2() local109 asm("cntlzw %0,%1" : "=r" (lz) : "r" (mant)); in elog2()110 mant <<= lz - 8; in elog2()111 exp = (-118 - lz) << 23; in elog2()143 asm("cntlzw %0,%1" : "=r" (lz) : "r" (exp)); in elog2()144 lz = 8 - lz; in elog2()145 if (lz > 0) in elog2()146 exp >>= lz; in elog2()147 else if (lz < 0) in elog2()148 exp <<= -lz; in elog2()[all …]
220 int lz; in fls() local224 asm("cntlzw %0,%1" : "=r" (lz) : "r" (x)); in fls()225 return 32 - lz; in fls()238 int lz; in fls64() local242 asm("cntlzd %0,%1" : "=r" (lz) : "r" (x)); in fls64()243 return 64 - lz; in fls64()
119 int lz; in get_order() local120 asm ("nsau %0, %1" : "=r" (lz) : "r" ((size - 1) >> PAGE_SHIFT)); in get_order()121 return 32 - lz; in get_order()
30 int lz; in __cntlz() local31 asm ("nsau %0, %1" : "=r" (lz) : "r" (x)); in __cntlz()32 return lz; in __cntlz()