参考:https://gcc.gnu.org/onlinedocs/gcc-3.4.5/gcc/Other-Builtins.html
— Built-in Function: int __builtin_clz (unsigned int x)
Returns the number of leading 0-bits in x, starting at the most significant bit position. If x is 0, the result is undefined.
测试:
结果: