This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PING Re: [PATCH, ARM] Atomic builtins using kernel helpers for Linux/EABI


Julian Brown wrote:
> Hi,
> 
> This patch implements the atomic builtins described at:
> 
>   http://gcc.gnu.org/onlinedocs/gcc-4.3.0/gcc/Atomic-Builtins.html
> 
> for ARM EABI Linux. This implementation uses the kernel helpers
> __kernel_cmpxchg and __kernel_dmb, and so should work on any
> architecture which supports those. (More-efficient versions are possible
> using ldrex/strex on architectures >=v6, but those are not written yet.)
> 
> Atomic operations are provided for data sizes of 1, 2 and 4 bytes (but
> not 8 bytes). The implementation uses actual functions
> (__sync_fetch_and_add_2, etc.) rather than expanding code inline.
> 
> Tested with cross to arm-none-linux-gnueabi, and with some additional
> hand-written tests which hopefully exercised the atomicity of the
> operations sufficiently.
> 
> OK for mainline?

http://gcc.gnu.org/ml/gcc-patches/2008-07/msg00025.html

What happened to this?

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]