This is now committed to trunk, backported to releases/gcc-12 and releases/gcc-11.
Apologies for the delay, it's been a wild couple of weeks. Tom. On Thu, Jul 7, 2022 at 2:31 AM Jonathan Wakely <jwak...@redhat.com> wrote: > On Wed, 6 Jul 2022 at 22:42, Thomas Rodgers <trodg...@redhat.com> wrote: > > > > Ok for trunk? backport? > > Yes, for all branches that have the atomic wait code. > > > > > > On Wed, Jul 6, 2022 at 1:56 PM Jonathan Wakely <jwak...@redhat.com> > wrote: > >> > >> On Wed, 6 Jul 2022 at 02:05, Thomas Rodgers via Libstdc++ > >> <libstd...@gcc.gnu.org> wrote: > >> > > >> > 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. > >> > >> OK, thanks. > >> > >