libstdc++: Minor codegen improvement for atomic wait spinloop

Thomas Rodgers trodgers@redhat.com
Tue Jul 26 22:42:37 GMT 2022


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 <jwakely@redhat.com> wrote:

> On Wed, 6 Jul 2022 at 22:42, Thomas Rodgers <trodgers@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 <jwakely@redhat.com>
> wrote:
> >>
> >> On Wed, 6 Jul 2022 at 02:05, Thomas Rodgers via Libstdc++
> >> <libstdc++@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.
> >>
>
>


More information about the Gcc-patches mailing list