I just knew that there are many builtin functions of gcc, some of them seems to be useful.
For example, the builtin function __builtin_popcount() can count t
__builtin_popcount()