[cfe-dev] [libcxx]: std::atomic for cortex-m3 - ARMv7-M
salvatore benedetto
salvatore.benedetto at gmail.com
Sat Sep 22 05:24:18 PDT 2012
Hi there,
I'm trying to use std::atomic<> for a cortex-m3 target (ARMv7-M Thumb-2),
but it seems not to be supported (It compiles OK on my x86_64 host).
error: cannot compile this atomic library call yet
{return __c11_atomic_fetch_sub(&this->__a_, __op, __m);}
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I wonder where I can find more information about this subject.
Is anyone working on adding support for this? Or is it even possible
since, from what I know, ARMv7-M provide special instruction that only
works on special memory area (bit-band)?
Thanks in advance.
Regards,
Salvatore
More information about the cfe-dev
mailing list