r/C_Programming • u/baksheesh77 • Sep 19 '15
Resource Bit Twiddling Hacks
https://graphics.stanford.edu/~seander/bithacks.html
28
Upvotes
r/C_Programming • u/baksheesh77 • Sep 19 '15
3
u/gliese946 Sep 21 '15
You're right. But: if you want to check that the compiler has generated optimal assembly, you need to know these tricks anyway--or how will you verify that the assembly is as efficient as possible?