Home
last modified time | relevance | path

Searched refs:lz (Results 1 – 4 of 4) sorted by relevance

/arch/powerpc/kernel/
Dvecemu.c95 int exp, mant, lz, frac; in elog2() local
109 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 …]
/arch/powerpc/include/asm/
Dbitops.h220 int lz; in fls() local
224 asm("cntlzw %0,%1" : "=r" (lz) : "r" (x)); in fls()
225 return 32 - lz; in fls()
238 int lz; in fls64() local
242 asm("cntlzd %0,%1" : "=r" (lz) : "r" (x)); in fls64()
243 return 64 - lz; in fls64()
/arch/xtensa/include/asm/
Dpage.h119 int lz; in get_order() local
120 asm ("nsau %0, %1" : "=r" (lz) : "r" ((size - 1) >> PAGE_SHIFT)); in get_order()
121 return 32 - lz; in get_order()
Dbitops.h30 int lz; in __cntlz() local
31 asm ("nsau %0, %1" : "=r" (lz) : "r" (x)); in __cntlz()
32 return lz; in __cntlz()