Searched refs:lz (Results 1 – 4 of 4) sorted by relevance
96 int exp, mant, lz, frac; in elog2() local110 asm("cntlzw %0,%1" : "=r" (lz) : "r" (mant)); in elog2()111 mant <<= lz - 8; in elog2()112 exp = (-118 - lz) << 23; in elog2()144 asm("cntlzw %0,%1" : "=r" (lz) : "r" (exp)); in elog2()145 lz = 8 - lz; in elog2()146 if (lz > 0) in elog2()147 exp >>= lz; in elog2()148 else if (lz < 0) in elog2()149 exp <<= -lz; in elog2()[all …]
219 int lz; in fls() local223 asm("cntlzw %0,%1" : "=r" (lz) : "r" (x)); in fls()224 return 32 - lz; in fls()237 int lz; in fls64() local241 asm("cntlzd %0,%1" : "=r" (lz) : "r" (x)); in fls64()242 return 64 - lz; in fls64()
30 int lz; in __cntlz() local31 asm ("nsau %0, %1" : "=r" (lz) : "r" (x)); in __cntlz()32 return lz; in __cntlz()
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()