]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Minor codegen improvement for atomic wait spinloop
authorThomas Rodgers <trodgers@redhat.com>
Wed, 6 Jul 2022 00:42:42 +0000 (17:42 -0700)
committerThomas Rodgers <trodgers@redhat.com>
Tue, 26 Jul 2022 21:55:36 +0000 (14:55 -0700)
commite75da2ace6b6f634237259ef62cfb2d3d34adb10
tree080207538b29a0db6b02397811a3a7b0d9424e60
parentdb613e8fa841259f74740665ee9e508bd73ea1c4
libstdc++: Minor codegen improvement for atomic wait spinloop

This patch merges the spin loops in the atomic wait implementation which is a
minor codegen improvement.

libstdc++-v3/ChangeLog:
* include/bits/atomic_wait.h (__atomic_spin): Merge spin loops.
libstdc++-v3/include/bits/atomic_wait.h