Hi! I've committed the clmul patch some days ago with the FTM intentionally lowered just in case the paper undergoes substantial changes. For simd part that would be even useful but we don't have that implemented yet.
This patch just updates it to the final one. Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? 2026-11-21 Jakub Jelinek <[email protected]> * include/bits/version.def (clmul): Bump FTM to 202611. * include/bits/version.h: Regenerate. * include/std/numeric: Compare __glibcxx_clmul against 202611 rather than 202610. * testsuite/26_numerics/clmul/1.cc: Expect __cpp_lib_clmul 202611. --- a/libstdc++-v3/include/bits/version.def 2026-11-13 14:52:02.789825353 +0100 +++ b/libstdc++-v3/include/bits/version.def 2026-11-20 12:56:11.909677894 +0100 @@ -2712,7 +2712,7 @@ ftms = { ftms = { name = clmul; values = { - v = 202610; + v = 202611; cxxmin = 29; }; }; --- a/libstdc++-v3/include/bits/version.h 2026-11-13 14:52:02.789825353 +0100 +++ b/libstdc++-v3/include/bits/version.h 2026-11-20 12:56:18.573405936 +0100 @@ -2993,9 +2993,9 @@ #if !defined(__cpp_lib_clmul) # if (__cplusplus > 202603L) -# define __glibcxx_clmul 202610L +# define __glibcxx_clmul 202611L # if defined(__glibcxx_want_all) || defined(__glibcxx_want_clmul) -# define __cpp_lib_clmul 202610L +# define __cpp_lib_clmul 202611L # endif # endif #endif /* !defined(__cpp_lib_clmul) */ --- a/libstdc++-v3/include/std/numeric 2026-11-14 10:21:04.144087557 +0100 +++ b/libstdc++-v3/include/std/numeric 2026-11-20 12:57:16.707835393 +0100 @@ -766,7 +766,7 @@ namespace ranges } // namespace ranges #endif // __glibcxx_ranges_iota -#if __glibcxx_clmul >= 202610L // C++29 +#if __glibcxx_clmul >= 202611L // C++29 template<typename _Tp> class wide_result { public: --- a/libstdc++-v3/testsuite/26_numerics/clmul/1.cc 2026-11-09 09:56:28.916585353 +0100 +++ b/libstdc++-v3/testsuite/26_numerics/clmul/1.cc 2026-11-20 12:57:57.384306519 +0100 @@ -4,7 +4,7 @@ #ifndef __cpp_lib_clmul # error "Feature-test macro for clmul missing in <numeric>" -#elif __cpp_lib_clmul != 202610L +#elif __cpp_lib_clmul != 202611L # error "Feature-test macro for clmul has wrong value in <numeric>" #endif Jakub
