Vectorized CLZ and CTZ
Summary
The article explores vectorized implementations of clz and ctz using floating-point tricks and SIMD, including Rust/C examples and x86 assembly. It provides cross-CPU benchmarks (Haswell and Alder Lake) and discusses performance trade-offs across different hardware, plus an added de Bruijn-based approach.