We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f9eb870 + d31879a commit 033fffeCopy full SHA for 033fffe
platform/internal/mbed_atomic_impl.h
@@ -141,6 +141,7 @@ extern "C" {
141
#elif defined __clang__ || defined __GNUC__
142
#define DO_MBED_LOCKFREE_NEWVAL_2OP_ASM(OP, Constants, M) \
143
__asm volatile ( \
144
+ ".syntax unified\n\t" \
145
"LDREX"#M "\t%[newValue], %[value]\n\t" \
146
#OP "\t%[newValue], %[arg]\n\t" \
147
"STREX"#M "\t%[fail], %[newValue], %[value]\n\t" \
0 commit comments