]> granicus.if.org Git - libatomic_ops/commit
Implement load/store via simple LDR/STR for ARMv6+ (msftc)
authorIvan Maidanski <ivmai@mail.ru>
Thu, 14 Feb 2013 08:04:19 +0000 (12:04 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 14 Feb 2013 08:04:19 +0000 (12:04 +0400)
commit14cd39ac400ad8fbb36a700efef4615a901c28f8
tree72dccb79b1723efac176c4b7a6f6cc6a563d4e92
parentad70f34ff55146a66b761d95e20199b792407f0c
Implement load/store via simple LDR/STR for ARMv6+ (msftc)

* src/atomic_ops/sysdeps/msftc/arm.h: Include
all_aligned_atomic_load_store.h instead of all_atomic_load_store.h
(since unaligned accesses are not guaranteed to be atomic).
* src/atomic_ops/sysdeps/msftc/arm.h (AO_load): Remove; include
all_aligned_atomic_load_store.h unconditionally instead (thus
implementing AO[_char/short]_load/store via simple LDR/STR; add
comment about Windows interrupt handlers.
* src/atomic_ops/sysdeps/msftc/arm.h: Add TODO item to implement
AO_test_and_set_full (for pre-ARMv6).
src/atomic_ops/sysdeps/msftc/arm.h