]> granicus.if.org Git - libatomic_ops/commit
Implement AO_double_load/store based on guaranteed x86 access atomicity
authorIvan Maidanski <ivmai@mail.ru>
Sun, 6 Jan 2013 15:51:57 +0000 (19:51 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Sun, 6 Jan 2013 15:51:57 +0000 (19:51 +0400)
commitcbec24637bc6562706203c1798130bc2a1924740
treeeda23158931fee766b350788b5064e8e43a942a1
parentef7a115b900eb5222ed89bb3bcfbe743af41a12d
Implement AO_double_load/store based on guaranteed x86 access atomicity

* src/atomic_ops/sysdeps/gcc/x86.h: Define
AO_ACCESS_double_CHECK_ALIGNED and include double_atomic_load_store.h
after inclusion of standard_ao_double_t.h (only if AO_t is 32-bit).
* src/atomic_ops/sysdeps/msftc/x86.h: Likewise.
* src/atomic_ops/sysdeps/sunc/x86.h: Likewise.
src/atomic_ops/sysdeps/gcc/x86.h
src/atomic_ops/sysdeps/msftc/x86.h
src/atomic_ops/sysdeps/sunc/x86.h