bf3ec9ad52a5ccaccdae843a94f964f3a7624ecd
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>
Description
No description provided
Languages
C
68.1%
Assembly
16.2%
C++
13.4%
Makefile
1.1%
Python
0.9%
Other
0.2%