On 6/16/22 21:49, Florian Weimer via Gcc-help wrote:
Is there a C code pattern that GCC recognizes as the __builtin_clz, similar to what can happen for __builtin_popcountl? Thanks, Florian
I've filed a bug report for this 2 years ago over at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94793, but it's only been assigned for now. Might get into GCC 13 if the comments are any indication.