Re: [EXT] Re: [PATCH v3] rs6000: Adding missed ISA 3.0 atomic memory operation instructions.

2025-06-03 Thread Surya Kumari Jangala
On 02/06/25 12:30 pm, Surya Kumari Jangala wrote: > > On 30/05/25 1:37 am, Peter Bergner wrote: >> On 5/29/25 5:35 AM, Segher Boessenkool wrote: >>> +#define _AMO_LD_INCREMENT(NAME, TYPE, OPCODE, FC) \ +static __inline__ TYPE

Re: [EXT] Re: [PATCH v3] rs6000: Adding missed ISA 3.0 atomic memory operation instructions.

2025-06-02 Thread Surya Kumari Jangala
On 30/05/25 1:37 am, Peter Bergner wrote: > On 5/29/25 5:35 AM, Segher Boessenkool wrote: >> >>> +#define _AMO_LD_INCREMENT(NAME, TYPE, OPCODE, FC) \ >>> +static __inline__ TYPE >>> \ >>> +NAME (TYPE *_PTR)

Re: [EXT] Re: [PATCH v3] rs6000: Adding missed ISA 3.0 atomic memory operation instructions.

2025-05-30 Thread Segher Boessenkool
On Thu, May 29, 2025 at 03:07:34PM -0500, Peter Bergner wrote: > On 5/29/25 5:35 AM, Segher Boessenkool wrote: > > > > Add yourself to suthors as well? > > Agreed. Just add your name/email address directly under mine, like so: > > 2025-05-29 Peter Bergner > Jeevitha Palanisamy Li

Re: [PATCH v3] rs6000: Adding missed ISA 3.0 atomic memory operation instructions.

2025-05-30 Thread Surya Kumari Jangala
On 29/05/25 9:05 pm, Segher Boessenkool wrote: >> +#define _AMO_LD_INCREMENT(NAME, TYPE, OPCODE, FC) \ >> +static __inline__ TYPE >> \ >> +NAME (TYPE *_PTR) \ >> +{

Re: [EXT] Re: [PATCH v3] rs6000: Adding missed ISA 3.0 atomic memory operation instructions.

2025-05-29 Thread Peter Bergner
On 5/29/25 5:35 AM, Segher Boessenkool wrote: > > Add yourself to suthors as well? Agreed. Just add your name/email address directly under mine, like so: 2025-05-29 Peter Bergner Jeevitha Palanisamy >> +{ \ >>

Re: [PATCH v3] rs6000: Adding missed ISA 3.0 atomic memory operation instructions.

2025-05-29 Thread Segher Boessenkool
Hi! On Thu, May 29, 2025 at 10:36:12AM +0530, jeevitha wrote: > 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

[PATCH v3] rs6000: Adding missed ISA 3.0 atomic memory operation instructions.

2025-05-28 Thread jeevitha
Hi All, The following patch has been bootstrapped and regtested on powerpc64le-linux. Changes from V2: Replaced eight consecutive spaces with tabs in amo6.c and amo7.c. Changes from V1: Corrected the ISA version in the test cases. Changes to amo.h include the addition of the following load atom