Files
bionic/libc
Serban Constantinescu bf3ec9ad52 AArch64: Use LDXR/STXR instead of LDAXR/STLXR for bionic_atomic_cmpxchg()
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>
2013-12-19 18:32:53 +00:00
..
2013-12-18 11:21:55 -08:00
2013-12-18 11:21:55 -08:00
2013-12-18 11:21:55 -08:00
2013-12-18 12:22:33 -08:00
2013-11-19 09:49:17 +07:00
2013-10-28 09:38:00 -07:00