[Buildroot] [PATCH 01/24 v4] arch: add an option to specify if the arch has atomic ops

Thomas De Schampheleire patrickdepinguin at gmail.com
Sun Aug 17 13:04:55 UTC 2014


Thomas Petazzoni <thomas.petazzoni at free-electrons.com> schreef:
>Dear Thomas De Schampheleire,
>
>On Sun, 17 Aug 2014 14:55:06 +0200, Thomas De Schampheleire wrote:
>
>> Is there a specific reason why the option is now
>>  dubbed ATOMICS iso ATOMIC_INTRINSICS?
>> 
>> The latter may be a bit more descriptive, no?
>
>But wouldn't make sense. "intrinsics" is a compiler notion, which
>doesn't have much to do with an architecture. An architecture provides
>atomic instructions, which in turn allow compilers to implement a
>certain class of compiler intrinsics to access those atomic operations.

Then what about HAS_ATOMIC_INSTRUCTIONS ?





More information about the buildroot mailing list