Prototype libatomic

Andrew MacLeod amacleod@redhat.com
Wed Mar 14 19:06:00 GMT 2012


Stupid evolution and autodetection of html format emails..., gcc bounced 
the reply...

On 03/14/2012 02:54 PM, Paweł Sikora wrote:
> On Tuesday 13 of March 2012 17:02:01 Richard Henderson wrote:
>> So, I've got something put together.  I think it should be fairly scalable.
>> As a test I've thrown in some ARM overrides.
>>
>> See
>>
>>    git://repo.or.cz/gcc/rth.git rth/libatomic
>>
>> which is a gcc tree with a libatomic subdir.
>>
>> Comments welcome.
> is this yet another libatomic implementation better than atomic_ops?
>
> http://www.hpl.hp.com/research/linux/atomic_ops/
> https://github.com/ivmai/libatomic_ops/
>
Well, its one that resolves the external symbols required by GCC 4.7/4.8 
API here: http://gcc.gnu.org/wiki/Atomic/GCCMM/LIbrary

No comment on whether its better or worse than any other library, but 
once we have one in place in the toolchain, everyone is welcome to 
enhance it with a better implementation.

Andrew



More information about the Gcc mailing list