Re: libstdc++: Minor codegen improvement for atomic wait spinloop

2022-07-26 Thread Thomas Rodgers via Gcc-patches
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  wrote:

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


Re: libstdc++: Minor codegen improvement for atomic wait spinloop

2022-07-07 Thread Jonathan Wakely via Gcc-patches
On Wed, 6 Jul 2022 at 22:42, Thomas Rodgers  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  wrote:
>>
>> On Wed, 6 Jul 2022 at 02:05, Thomas Rodgers via Libstdc++
>>  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.
>>



Re: libstdc++: Minor codegen improvement for atomic wait spinloop

2022-07-06 Thread Thomas Rodgers via Gcc-patches
Ok for trunk? backport?

On Wed, Jul 6, 2022 at 1:56 PM Jonathan Wakely  wrote:

> On Wed, 6 Jul 2022 at 02:05, Thomas Rodgers via Libstdc++
>  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.
>
>


Re: libstdc++: Minor codegen improvement for atomic wait spinloop

2022-07-06 Thread Jonathan Wakely via Gcc-patches
On Wed, 6 Jul 2022 at 02:05, Thomas Rodgers via Libstdc++
 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.



libstdc++: Minor codegen improvement for atomic wait spinloop

2022-07-05 Thread Thomas Rodgers via Gcc-patches
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.


0001-libstdc-Minor-codegen-improvement-for-atomic-wait-sp.patch
Description: Binary data