wow so glad I can extract this minimal and efficient C++ from my verified Kernighan popcount in Lean ๐
https://gist.github.com/regehr/3461027009efbe9452d8a5c343174443
wow so glad I can extract this minimal and efficient C++ from my verified Kernighan popcount in Lean ๐
https://gist.github.com/regehr/3461027009efbe9452d8a5c343174443
@regehr In a conversation about some processor architectural extensions in development, asking about the motivations for the instruction additions including the popcount instruction: โthe spooks wanted it.โ
Cryptography, presumably. But there are some answers Iโd rather not know.
Profiling for which apps and which sites used what instructions and how often was always interesting.
@HoffmanLabs yeah, "the NSA instruction" :)
https://groups.google.com/g/comp.arch/c/UXEi7G6WHuU/m/Z2z7fC7Xhr8J
which seems a bit quaint at this point :)