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

2022-08-08 Thread Kyrylo Tkachov via Gcc-patches
> > > From: Tamar Christina > > > Sent: Wednesday, June 8, 2022 3:49 PM > > > To: gcc-patches@gcc.gnu.org > > > Cc: nd ; Richard Earnshaw > ; > > > Marcus Shawcroft ; Kyrylo Tkachov > > > ; Richard Sandiford > > > > > > Subject

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

2022-08-08 Thread Tamar Christina via Gcc-patches
; > Cc: nd ; Richard Earnshaw ; > > Marcus Shawcroft ; Kyrylo Tkachov > > ; Richard Sandiford > > > > Subject: [PATCH 1/2]AArch64 Fix 128-bit sequential consistency atomic > > operations. > > > > Hi All, > > > > The AArch64 implementation of 128-bit

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

2022-07-12 Thread Kyrylo Tkachov via Gcc-patches
; ; Richard Sandiford > > Subject: [PATCH 1/2]AArch64 Fix 128-bit sequential consistency atomic > operations. > > Hi All, > > The AArch64 implementation of 128-bit atomics is broken. > > For 128-bit atomics we rely on pthread barriers to correct guard the address > in the p

RE: [PATCH 1/2]AArch64 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:49 PM > To: gcc-patches@gcc.gnu.org > Cc: nd ; Richard Earnshaw ; > Marcus Shawcroft ; Kyrylo Tkachov > ; Richard Sandiford > > Subject: [PATCH 1/2]AArch64 Fix 128-bit se

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

2022-06-08 Thread Tamar Christina via Gcc-patches
Hi All, The AArch64 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 pointer. This means