DigiNews

Tech Watch by Johan Denoyer

← Back to articles

Vectorized CLZ and CTZ

Quality: 8/10 Relevance: 9/10

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.

🚀 Service construit par Johan Denoyer