4 ms·
Right, unpacking numbers like that is pretty efficient in AVX512. Still, modern processors have BMI2. For some practical applications, the PEXT instruction is
by Const-me 4y ago
Right, unpacking numbers like that is pretty efficient in AVX512.
Still, modern processors have BMI2. For some practical applications, the PEXT instruction is pretty comparable, here’s an example: https://stackoverflow.com/a/72106877/126995 https://stackoverflow.com/a/72106877/126995
- planede 4y agoJust avoid PDEP/PEXT on AMD before Zen3, it's there, but it's emulated in microcode and slow.