[Bug target/121419] __clzdi2 emitted when building udev-hid-bpf

dfaust at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Feb 19 19:00:43 GMT 2026


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121419

--- Comment #9 from David Faust <dfaust at gcc dot gnu.org> ---
Note that there are patches in bpf-next to provide these bitops via kfuncs:

https://lore.kernel.org/bpf/20260219142933.13904-1-leon.hwang@linux.dev/T/#m7a05448c1137285d11c651a7a567e50e002740aa

"When the JIT/backend and CPU support it, calls are inlined into
native instructions; otherwise they fall back to regular function calls."


More information about the Gcc-bugs mailing list