* __builtin_clzl code pattern
@ 2022-06-16 19:49 Florian Weimer
2022-06-16 20:51 ` Gabriel Ravier
0 siblings, 1 reply; 2+ messages in thread
From: Florian Weimer @ 2022-06-16 19:49 UTC (permalink / raw)
To: gcc-help
Is there a C code pattern that GCC recognizes as the __builtin_clz,
similar to what can happen for __builtin_popcountl?
Thanks,
Florian
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: __builtin_clzl code pattern
2022-06-16 19:49 __builtin_clzl code pattern Florian Weimer
@ 2022-06-16 20:51 ` Gabriel Ravier
0 siblings, 0 replies; 2+ messages in thread
From: Gabriel Ravier @ 2022-06-16 20:51 UTC (permalink / raw)
To: Florian Weimer, gcc-help
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-06-16 20:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-16 19:49 __builtin_clzl code pattern Florian Weimer
2022-06-16 20:51 ` Gabriel Ravier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).