On Thu, May 14, 2026 at 10:12:44AM +0530, jeevitha wrote:
> Hi,
> 
> This patch depends on the ISA 3.0 AMO implementation patch. It will be
> upstreamed after the above patch is upstreamed. These changes have been
> bootstrapped and regression tested on powerpc64le-linux.
> Is this okay for trunk?
> 
> 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.

This looks ok.

-- 
Michael Meissner, IBM
PO Box 98, Ayer, Massachusetts, USA, 01432
email: [email protected]

Reply via email to