On Wed, May 27, 2026 at 04:49:11PM +0530, jeevitha wrote: > Hi All, > > This patch depends on the "Add PowerPC future hardware compiler support > checks" patch. It will be upstreamed after the above patch is > upstreamed. These changes have been bootstrapped and regression tested > on powerpc64le-linux. > > Changes from V3: > * Moved target-supports.exp changes to separate patch. > * Added respective dg flags and checks. > > Changes from V2: > * Corrected wording in amo.h. > * Added new dg-do run test. > * Added powerpc_future_hw_ok object. > > Changes from V1: > * Corrected wording in amo.h and the test file. > * Added changes to extend.texi. > > This patch adds support for compare-and-swap-equal atomic memory > operations that may be added to a future PowerPC processor. Note that > the names of these functions may change in the future. > > Add _AMO_LD_CS_EQ to the _AMO_LD enum and define four new > compare-and-swap equal helper functions, all guarded by _ARCH_FUTURE. > For non-Future targets, provide error-attribute stubs to emit a > compile-time diagnostic. > > 2026-05-27 Jeevitha Palanisamy <[email protected]>
This looks ok once the previous patches are committed. -- Michael Meissner, IBM PO Box 98, Ayer, Massachusetts, USA, 01432 email: [email protected]
