Home
last modified time | relevance | path

Searched refs:clz32 (Results 1 – 25 of 744) sorted by relevance

12345678910>>...30

/dports/net-p2p/qtum/qtum-mainnet-fastlane-v0.20.3/src/cpp-ethereum/ethash/test/unittests/
H A Dtest_bit_manipulation.cpp51 TEST(bit_manipulation, clz32) in TEST() argument
53 EXPECT_EQ(clz32(0), 32); in TEST()
54 EXPECT_EQ(clz32(1), 31); in TEST()
55 EXPECT_EQ(clz32(1 << 1), 30); in TEST()
56 EXPECT_EQ(clz32(1 << 2), 29); in TEST()
57 EXPECT_EQ(clz32(1 << 30), 1); in TEST()
58 EXPECT_EQ(clz32(1u << 31), 0); in TEST()
59 EXPECT_EQ(clz32(4321), 19); in TEST()
/dports/security/tor-devel/tor-0.4.7.2-alpha/src/ext/timeouts/
H A Dtimeout-bitops.c22 #define clz32(n) __builtin_clzl(n) macro
25 #define clz32(n) __builtin_clz(n) macro
39 static __inline int clz32(unsigned long val) in clz32() function
70 return hi ? clz32(hi) : 32 + clz32(lo); in clz64()
98 static inline int clz32(uint32_t x) in clz32() function
218 if (clz32(v32) != naive_clz(32, v32)) { in check()
219 printf("mismatch with clz32: %d\n", clz32(v32)); in check()
/dports/security/tor/tor-0.4.6.8/src/ext/timeouts/
H A Dtimeout-bitops.c22 #define clz32(n) __builtin_clzl(n) macro
25 #define clz32(n) __builtin_clz(n) macro
39 static __inline int clz32(unsigned long val) in clz32() function
70 return hi ? clz32(hi) : 32 + clz32(lo); in clz64()
98 static inline int clz32(uint32_t x) in clz32() function
218 if (clz32(v32) != naive_clz(32, v32)) { in check()
219 printf("mismatch with clz32: %d\n", clz32(v32)); in check()
/dports/devel/ppl/ppl-1.2/src/
H A Dcompiler.hh86 clz32(uint32_t w) { in clz32() function
113 return clz32(static_cast<uint32_t>(w)) + 32; in clz64()
116 return clz32(static_cast<uint32_t>(w >> 32)); in clz64()
148 return clz32(u); in clz()
162 return clz32(ul); in clz()
176 return clz32(ull); in clz()
/dports/emulators/py-unicorn/unicorn-1.0.2/qemu/include/qemu/
H A Dhost-utils.h87 static inline int clz32(uint32_t val) in clz32() function
130 return clz32(~val); in clo32()
153 return cnt + clz32((uint32_t)val); in clz64()
270 return clz32(val ^ ((int32_t)val >> 1)) - 1; in clrsb32()
367 # define clzl clz32
/dports/emulators/unicorn/unicorn-1.0.2/qemu/include/qemu/
H A Dhost-utils.h87 static inline int clz32(uint32_t val) in clz32() function
130 return clz32(~val); in clo32()
153 return cnt + clz32((uint32_t)val); in clz64()
270 return clz32(val ^ ((int32_t)val >> 1)) - 1; in clrsb32()
367 # define clzl clz32
/dports/emulators/ppsspp-qt5/ppsspp-1.12.3/Common/
H A DBitScan.h16 inline uint32_t clz32(uint32_t value) { in Init()
31 inline uint32_t clz32(uint32_t value) {
/dports/emulators/ppsspp/ppsspp-1.12.3/Common/
H A DBitScan.h16 inline uint32_t clz32(uint32_t value) { in clz32() function
31 inline uint32_t clz32(uint32_t value) { in clz32() function
/dports/emulators/libretro-ppsspp/ppsspp-1.12.3/Common/
H A DBitScan.h16 inline uint32_t clz32(uint32_t value) { in clz32() function
31 inline uint32_t clz32(uint32_t value) { in clz32() function
/dports/games/libretro-mgba/mgba-6186d45/include/mgba-util/
H A Dmath.h19 static inline unsigned clz32(uint32_t bits) { in clz32() function
57 unsigned lz = clz32(bits - 1); in toPow2()
/dports/emulators/x49gp/x49gp/x49gp-code/qemu/qemu-git/
H A Dhost-utils.h52 static inline int clz32(uint32_t val) in clz32() function
91 return clz32(~val); in clo32()
110 return cnt + clz32(val); in clz64()
/dports/emulators/qemu42/qemu-4.2.1/include/qemu/
H A Dhost-utils.h116 static inline int clz32(uint32_t val) in clz32() function
129 return clz32(~val); in clo32()
213 return clz32(val ^ ((int32_t)val >> 1)) - 1; in clrsb32()
346 # define clzl clz32
/dports/emulators/qemu60/qemu-6.0.0/include/qemu/
H A Dhost-utils.h116 static inline int clz32(uint32_t val) in clz32() function
129 return clz32(~val); in clo32()
213 return clz32(val ^ ((int32_t)val >> 1)) - 1; in clrsb32()
346 # define clzl clz32
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/include/qemu/
H A Dhost-utils.h116 static inline int clz32(uint32_t val) in clz32() function
129 return clz32(~val); in clo32()
213 return clz32(val ^ ((int32_t)val >> 1)) - 1; in clrsb32()
346 # define clzl clz32
/dports/emulators/qemu5/qemu-5.2.0/include/qemu/
H A Dhost-utils.h116 static inline int clz32(uint32_t val) in clz32() function
129 return clz32(~val); in clo32()
213 return clz32(val ^ ((int32_t)val >> 1)) - 1; in clrsb32()
346 # define clzl clz32
/dports/emulators/qemu-utils/qemu-4.2.1/include/qemu/
H A Dhost-utils.h116 static inline int clz32(uint32_t val) in clz32() function
129 return clz32(~val); in clo32()
213 return clz32(val ^ ((int32_t)val >> 1)) - 1; in clrsb32()
346 # define clzl clz32
/dports/emulators/qemu-guest-agent/qemu-5.0.1/include/qemu/
H A Dhost-utils.h116 static inline int clz32(uint32_t val) in clz32() function
129 return clz32(~val); in clo32()
213 return clz32(val ^ ((int32_t)val >> 1)) - 1; in clrsb32()
346 # define clzl clz32
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/include/qemu/
H A Dhost-utils.h116 static inline int clz32(uint32_t val) in clz32() function
129 return clz32(~val); in clo32()
213 return clz32(val ^ ((int32_t)val >> 1)) - 1; in clrsb32()
346 # define clzl clz32
/dports/emulators/mgba/mgba-0.9.2/include/mgba-util/
H A Dmath.h19 static inline unsigned clz32(uint32_t bits) { in clz32() function
60 unsigned lz = clz32(bits - 1); in toPow2()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/third_party/astc-encoder/Source/
H A Dastc_mathlib_softfloat.cpp57 uint32_t clz32(uint32_t inp) in clz32() function
135 uint32_t leadingzeroes = clz32(mskval); in sf16_to_sf32()
/dports/multimedia/librav1e/rav1e-0.5.1/cargo-crates/js-sys-0.3.55/tests/wasm/
H A DMath.rs89 fn clz32() { in clz32() function
90 assert!(Math::clz32(1) == 31); in clz32()
91 assert!(Math::clz32(1000) == 22); in clz32()
/dports/devel/stylua/StyLua-0.11.0/cargo-crates/js-sys-0.3.55/tests/wasm/
H A DMath.rs89 fn clz32() { in clz32() function
90 assert!(Math::clz32(1) == 31); in clz32()
91 assert!(Math::clz32(1000) == 22); in clz32()
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/js-sys-0.3.53/tests/wasm/
H A DMath.rs89 fn clz32() { in clz32() function
90 assert!(Math::clz32(1) == 31); in clz32()
91 assert!(Math::clz32(1000) == 22); in clz32()
/dports/security/vaultwarden/vaultwarden-1.23.1/cargo-crates/js-sys-0.3.55/tests/wasm/
H A DMath.rs89 fn clz32() { in clz32() function
90 assert!(Math::clz32(1) == 31); in clz32()
91 assert!(Math::clz32(1000) == 22); in clz32()
/dports/games/genact/genact-0.10.0/cargo-crates/js-sys-0.3.44/tests/wasm/
H A DMath.rs89 fn clz32() { in clz32() function
90 assert!(Math::clz32(1) == 31); in clz32()
91 assert!(Math::clz32(1000) == 22); in clz32()

12345678910>>...30