It would be nice to get bitscanforward/reverse too.
I created this library long ago to get popcnt on desktop .net: https://github.com/omgtehlion/netintrinsics
Blog post with more details (in Russian): https://m.habr.com/ru/post/239619/
EDIT: found lzcnt/tzcnt on a linked page, thanks! But what about bswap or I'm asking too much? ))
It would be nice to get bitscanforward/reverse too.
I created this library long ago to get popcnt on desktop .net: https://github.com/omgtehlion/netintrinsics
Blog post with more details (in Russian): https://m.habr.com/ru/post/239619/
EDIT: found lzcnt/tzcnt on a linked page, thanks! But what about bswap or I'm asking too much? ))