RE: [PATCH 2/2][AArch32] Fix 128-bit sequential consistency atomic operations.

2022-08-08 Thread Kyrylo Tkachov via Gcc-patches
> -Original Message- > From: Tamar Christina > Sent: Wednesday, June 8, 2022 3:50 PM > To: gcc-patches@gcc.gnu.org > Cc: nd ; Ramana Radhakrishnan > ; Richard Earnshaw > ; ni...@redhat.com; Kyrylo Tkachov > > Subject: [PATCH 2/2][AArch32] Fix 128-bit se

RE: [PATCH 2/2][AArch32] Fix 128-bit sequential consistency atomic operations.

2022-06-16 Thread Tamar Christina via Gcc-patches
ping > -Original Message- > From: Tamar Christina > Sent: Wednesday, June 8, 2022 3:50 PM > To: gcc-patches@gcc.gnu.org > Cc: nd ; Ramana Radhakrishnan > ; Richard Earnshaw > ; ni...@redhat.com; Kyrylo Tkachov > > Subject: [PATCH 2/2][AArch32] Fix 128-bit se

[PATCH 2/2][AArch32] Fix 128-bit sequential consistency atomic operations.

2022-06-08 Thread Tamar Christina via Gcc-patches
Hi All, Similar to AArch64 the Arm implementation of 128-bit atomics is broken. For 128-bit atomics we rely on pthread barriers to correct guard the address in the pointer to get correct memory ordering. However for 128-bit atomics the address under the lock is different from the original pointe