On Thu, Feb 20, 2025 at 07:41:26PM +0530, jeevitha wrote: > Hi All, > > The following patch has been bootstrapped and regtested on powerpc64le-linux. > > Changes to amo.h include the addition of the following load atomic operations: > Compare and Swap Not Equal, Fetch and Increment Bounded, Fetch and Increment > Equal, and Fetch and Decrement Bounded. Additionally, Store Twin is added for > store atomic operations. > > 2025-02-20 Peter Bergner <berg...@linux.ibm.com> > > gcc/: > * config/rs6000/amo.h: Add missing atomic memory operations. > * doc/extend.texi (PowerPC Atomic Memory Operation Functions): > Document new functions. > > gcc/testsuite/: > * gcc.target/powerpc/amo3.c: New test. > * gcc.target/powerpc/amo4.c: Likewise. > * gcc.target/powerpc/amo5.c: Likewise. > * gcc.target/powerpc/amo6.c: Likewise. > * gcc.target/powerpc/amo7.c: Likewise. > > Co-authored-by: Jeevitha Palanisamy <jeevi...@linux.ibm.com>
It looks reasonable to me. Hopefully Segher will approve. -- Michael Meissner, IBM PO Box 98, Ayer, Massachusetts, USA, 01432 email: meiss...@linux.ibm.com