Re: [PATCH][ARM][1/2] Load-acquire, store-release atomics in AArch32 ARMv8

2013-03-22 Thread Richard Earnshaw
On 30/01/13 15:54, Kyrylo Tkachov wrote: Hi all, This patch implements the atomic built-ins using the new ARMv8 load-acquire and store-release instructions. They allow us to generate barrier-free code for a variety of atomic operations such as: atomic load, atomic store, atomic compare and swap,

RE: [PATCH][ARM][1/2] Load-acquire, store-release atomics in AArch32 ARMv8

2013-03-22 Thread Kyrylo Tkachov
On Behalf Of Kyrylo Tkachov > Sent: 30 January 2013 15:55 > To: gcc-patches@gcc.gnu.org > Cc: Ramana Radhakrishnan; Richard Earnshaw > Subject: [PATCH][ARM][1/2] Load-acquire, store-release atomics in > AArch32 ARMv8 > > Hi all, > > This patch implements the atomic built

[PATCH][ARM][1/2] Load-acquire, store-release atomics in AArch32 ARMv8

2013-01-30 Thread Kyrylo Tkachov
Hi all, This patch implements the atomic built-ins using the new ARMv8 load-acquire and store-release instructions. They allow us to generate barrier-free code for a variety of atomic operations such as: atomic load, atomic store, atomic compare and swap, atomic {or, and, add, sub, xor}. Tests wi