Re:Rust's integer intrinsics are impressive
by bobbyi_settv on Saturday June 10, 2017 @12:26PM
(#14527900)
I did some experimentation with popcnt in C++ six years ago and was impressed to find that the intrinsic in gcc was faster than the best inline assembly I could come up with using the popcnt instruction:
https://github.com/bobbyi/Fast-Bit-Counting