Home
last modified time | relevance | path

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

/Linux-v5.4/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 …]
/Linux-v5.4/tools/testing/selftests/powerpc/primitives/
Dload_unaligned_zeropad.c32 int lz; in __fls() local
34 asm (PPC_CNTLZL "%0,%1" : "=r" (lz) : "r" (x)); in __fls()
35 return sizeof(unsigned long) - 1 - lz; in __fls()
/Linux-v5.4/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()
/Linux-v5.4/tools/build/feature/
DMakefile89 …2.0 2>/dev/null) $(FLAGS_PERL_EMBED) $(FLAGS_PYTHON_EMBED) -DPACKAGE='"perf"' -lbfd -ldl -lz -llzma
136 DWARFLIBS += -lelf -lebl -lz -llzma -lbz2
235 …) $(CFLAGS) -Wall -Werror -o $@ test-libbfd.c -DPACKAGE='"perf"' $(LDFLAGS) -lbfd -ldl -liberty -lz
262 $(BUILD) -lz
/Linux-v5.4/tools/bpf/bpftool/
DMakefile58 LIBS = $(LIBBPF) -lelf -lz
104 LIBS += -lbfd -ldl -lopcodes -liberty -lz
/Linux-v5.4/tools/perf/
DMakefile.config150 DWARFLIBS += -lelf -lebl -ldl -lz -llzma -lbz2
761 EXTLIBS += -lbfd -lopcodes -liberty -lz
762 FEATURE_CHECK_LDFLAGS-disassembler-four-args += -liberty -lz -ldl
800 EXTLIBS += -lz