[PATCH 1/2] [PING] Optimize generic spinlock code and use C11 like atomic macros.

Torvald Riegel triegel@redhat.com
Thu Jun 1 14:33:00 GMT 2017


On Thu, 2017-06-01 at 13:39 +0000, Joseph Myers wrote:
> On Wed, 31 May 2017, Torvald Riegel wrote:
> 
> > > Nobody answered for these archs:
> > > -alpha: #define ATOMIC_EXCHANGE_USES_CAS 1
> > > -arm: #define ATOMIC_EXCHANGE_USES_CAS 1
> > > -hppa: #define ATOMIC_EXCHANGE_USES_CAS 1
> > > -ia64: #define ATOMIC_EXCHANGE_USES_CAS 0
> > > -m68k: #define ATOMIC_EXCHANGE_USES_CAS 1
> > > -microblaze: #define ATOMIC_EXCHANGE_USES_CAS 1
> > > -nios2: #define ATOMIC_EXCHANGE_USES_CAS 1
> > > -sh: #define ATOMIC_EXCHANGE_USES_CAS 1
> > > -sparc: #define ATOMIC_EXCHANGE_USES_CAS 1
> > 
> > Joseph, can you clarify for arm?
> 
> You already answered for ARM 
> <https://sourceware.org/ml/libc-alpha/2017-04/msg00109.html>.
> 

What I wrote there was just my understanding, and I wasn't sure.  I'll
assume that you are saying that this is indeed correct.  If so, the
patch should remove the XXX comment. 



More information about the Libc-alpha mailing list