Home
last modified time | relevance | path

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

/linux-6.1.9/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 …]
/linux-6.1.9/arch/powerpc/include/asm/
Dbitops.h292 int lz; in fls() local
296 asm("cntlzw %0,%1" : "=r" (lz) : "r" (x)); in fls()
297 return 32 - lz; in fls()
310 int lz; in fls64() local
314 asm("cntlzd %0,%1" : "=r" (lz) : "r" (x)); in fls64()
315 return 64 - lz; in fls64()
/linux-6.1.9/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-6.1.9/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-6.1.9/tools/build/feature/
DMakefile95 …ang $(FLAGS_PERL_EMBED) $(FLAGS_PYTHON_EMBED) -DPACKAGE='"perf"' -lbfd -ldl -lz -llzma -lzstd -lcap
150 DWARFLIBS += -lelf -lebl -lz -llzma -lbz2
250 $(BUILD_BFD) || $(BUILD_BFD) -liberty || $(BUILD_BFD) -liberty -lz
254 $(BUILD_BFD) -lopcodes -liberty -lz
258 $(BUILD_BFD) -lopcodes -liberty -lz
267 …) $(CFLAGS) -Wall -Werror -o $@ test-libbfd.c -DPACKAGE='"perf"' $(LDFLAGS) -lbfd -ldl -liberty -lz
291 $(BUILD) -lz
/linux-6.1.9/tools/bpf/bpftool/
DMakefile125 LIBS = $(LIBBPF) -lelf -lz
126 LIBS_BOOTSTRAP = $(LIBBPF_BOOTSTRAP) -lelf -lz
145 LIBS += -lbfd -ldl -lopcodes -liberty -lz
/linux-6.1.9/tools/bpf/resolve_btfids/
DMakefile65 LIBS = -lelf -lz
/linux-6.1.9/tools/bpf/runqslower/
DMakefile52 $(QUIET_LINK)$(CC) $(CFLAGS) $^ -lelf -lz -o $@
/linux-6.1.9/tools/lib/bpf/
DMakefile168 -Wl,--version-script=$(VERSION_SCRIPT) $< -lelf -lz -o $@
/linux-6.1.9/tools/perf/
DMakefile.config174 DWARFLIBS += -lelf -lebl -ldl -lz -llzma -lbz2
936 EXTLIBS += -lbfd -lopcodes -liberty -lz
982 EXTLIBS += -lz
/linux-6.1.9/samples/bpf/
DMakefile209 TPROGS_LDLIBS += $(LIBBPF) -lelf -lz
/linux-6.1.9/tools/testing/selftests/bpf/
DMakefile29 LDLIBS += -lelf -lz -lrt -lpthread