4 ms·
Bit-permuting 16 u32s at once with AVX-512
- metadat 2y agoWhat's the purpose of the excessive quantity of leading underscores on every variable? Are they intended to communicate something special?
- mcyc 2y agoIt's just a convention for SIMD functions and types.
- AnonGuy535 2y agoNone of the variables there have leading underscores in the name. If you mean the type __m512i, possibly to avoid conflicting with user-defined types in C, which has no namespacing to avoid such conflicts and sort of "softly reserves" names starting with underscores for non-user-defined names.
- flohofwoe 2y agoDouble underscores are reserved by the C standard (https://devblogs.microsoft.com/oldnewthing/20230109-00/?p=107685 https://devblogs.microsoft.com/oldnewthing/20230109-00/?p=10...), so it's a measure to avoid collisions with user-defined types.