From: Thomas De Schampheleire Date: Sun, 17 Aug 2014 15:04:55 +0200 Subject: [Buildroot] [PATCH 01/24 v4] arch: add an option to specify if the arch has atomic ops In-Reply-To: <20140817145732.71eafc75@free-electrons.com> References: <7d72fe60f396407b4fbc68ba8f9910cda0fe24a8.1408279142.git.yann.morin.1998@free.fr> <20140817145732.71eafc75@free-electrons.com> Message-ID: <238c7828-34a6-4ed6-bdd6-e603090e5694@email.android.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Thomas Petazzoni 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 ?