]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Use new type-generic built-ins in <bit> [PR118855]
authorJonathan Wakely <jwakely@redhat.com>
Wed, 19 Feb 2025 14:48:04 +0000 (14:48 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 20 Feb 2025 11:33:41 +0000 (11:33 +0000)
commite8ad697a75b0870a833366daf687668a57cabb6e
tree03fc205732d6890122c9ca954ab7eec34c7e7259
parent32457bc25fea80b7bfb2f572e3e163b1dc359969
libstdc++: Use new type-generic built-ins in <bit> [PR118855]

This makes several functions in <bit> faster to compile, with fewer
expressions to parse and fewer instantiations of __numeric_traits
required.

libstdc++-v3/ChangeLog:

PR libstdc++/118855
* include/std/bit (__count_lzero, __count_rzero, __popcount):
Use type-generic built-ins when available.
libstdc++-v3/include/std/bit