Home
last modified time | relevance | path

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

/arch/powerpc/kernel/
Dvecemu.c96 int exp, mant, lz, frac; in elog2() local
110 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 …]
/arch/powerpc/include/asm/
Dbitops.h219 int lz; in fls() local
223 asm("cntlzw %0,%1" : "=r" (lz) : "r" (x)); in fls()
224 return 32 - lz; in fls()
237 int lz; in fls64() local
241 asm("cntlzd %0,%1" : "=r" (lz) : "r" (x)); in fls64()
242 return 64 - lz; in fls64()
/arch/xtensa/include/asm/
Dbitops.h30 int lz; in __cntlz() local
31 asm ("nsau %0, %1" : "=r" (lz) : "r" (x)); in __cntlz()
32 return lz; in __cntlz()
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()