Use GCC/Clang builtins for bit arithmetics
Merge pull request #294 from authmillenon/rewrite_bitarithm

Use GCC/Clang builtins for bit arithmetics