bf3ec9ad52
The bionic_atomic_cmpxchg() API states that the cmpxchg() will be done without explicit memory barriers. LDAXR/STLXR semantics involve half barriers for load/store. This patch optimises cmpxchg() by using LDXR/STXR and avoiding unnecessary half bariers. It also fixes the clobber list for all the bionic_atomic_*() functions. Change-Id: Iae9468965785cfeeec791d52f1e8cbc524adb682 Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com> |
||
---|---|---|
benchmarks | ||
libc | ||
libdl | ||
libm | ||
libstdc++ | ||
libthread_db | ||
linker | ||
tests | ||
.gitignore | ||
ABI-bugs.txt | ||
Android.mk | ||
CleanSpec.mk |