Simon Pilgrim b6dd511f70
[X86] AVX512 optimised CTLZ/CTTZ implementations for i256/i512 scalars (#164671)
Make use of AVX512 VPLZCNT/VPOPCNT to perform the big integer bit counts per vector element and then use VPCOMPRESS to extract the first non-zero element result.

There's more we can do here (widen/split other vector widths etc.) - but this is a good starting point.
2025-11-12 15:20:38 +00:00
..
2025-07-15 13:22:33 -04:00
2025-11-10 12:34:00 -08:00
2025-11-10 12:34:00 -08:00