Out of boredom I was looking at the compiler implementation of some bit-twiddling functions, comparing them with those at https://graphics.stanford.edu/~seander/bithacks.html and noticed that the builtin abs() function produces the following code:- sra $4..
↧