3 ms·
I've never seen code generated that uses PDEP/PEXT, probably because there are separate bitfield instructions. These intrinsics are definitely useful though (I
by jandrewrogers 7y ago
I've never seen code generated that uses PDEP/PEXT, probably because there are separate bitfield instructions. These intrinsics are definitely useful though (I use them) and they can radically simplify operations on some types of data models. I doubt the compiler will ever be good at finding those patterns in code, use cases aren't a simple substitution and the logic you'd be rewriting is large and diffuse.