https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128111
--- Comment #7 from Kael Franco <kaelfandrew at gmail dot com> ---
(In reply to Jakub Jelinek from comment #5)
> Created attachment 65973 [details]
> gcc17-pr128111-wip.patch
>
> Updated patch with _BitInt lowering written and compile tested, but no
> runtime tests for that.
wi::clmul could use __builtin_clmulg itself using STAGE0_CXX_HAS_BUILTIN
as done in r17-3165 to both optimize GCC itself and more testing for
__builtin_clmulg. Or it could be in some helper function in hwint.{h,c} like
clmul_hwi ().