]> granicus.if.org Git - libatomic_ops/commit
Remove X_aligned_atomic_load_store headers and template
authorIvan Maidanski <ivmai@mail.ru>
Sat, 5 Jan 2013 14:56:53 +0000 (18:56 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Sat, 5 Jan 2013 14:56:53 +0000 (18:56 +0400)
commite723868de770f70f4fbd39286905c24572bcc7e7
tree41695107fd48a349f1e476e3d18fdb557ec86eb6
parent13fe31e3151927ca5d84ca1df68e144b827c5552
Remove X_aligned_atomic_load_store headers and template
(code refactoring)

* src/Makefile.am (EXTRA_DIST): Remove
aligned_atomic_load_store.template entry.
* src/Makefile.am (BUILT_SOURCES, nobase_private_HEADERS): Remove
aligned_atomic_load_store.h, int_aligned_atomic_load_store.h,
short_aligned_atomic_load_store.h entries.
* src/Makefile.am
(atomic_ops/sysdeps/loadstore/aligned_atomic_load_store.h,
atomic_ops/sysdeps/loadstore/int_aligned_atomic_load_store.h,
atomic_ops/sysdeps/loadstore/short_aligned_atomic_load_store.h):
Remove rules.
* src/atomic_ops/sysdeps/all_aligned_atomic_load_store.h: Refine
comment; include X_atomic_load_store.h instead of the corresponding
X_aligned_atomic_load_store.h file.
* src/atomic_ops/sysdeps/all_aligned_atomic_load_store.h
(AO_ACCESS_CHECK_ALIGNED, AO_ACCESS_short_CHECK_ALIGNED,
AO_ACCESS_int_CHECK_ALIGNED): New macros (defined before inclusion
of the corresponding X_atomic_load_store.h file).
* src/atomic_ops/sysdeps/loadstore/aligned_atomic_load_store.h:
Remove.
* src/atomic_ops/sysdeps/loadstore/aligned_atomic_load_store.template:
Likewise.
* src/atomic_ops/sysdeps/loadstore/int_aligned_atomic_load_store.h:
Likewise.
* src/atomic_ops/sysdeps/loadstore/short_aligned_atomic_load_store.h:
Likewise.
* src/atomic_ops/sysdeps/loadstore/atomic_load_store.template
(AO_XSIZE_load, AO_XSIZE_store): Add conditional assertion check of
(*addr) alignment (enabled only if AO_ACCESS_<XSIZE>_CHECK_ALIGNED).
* src/atomic_ops/sysdeps/loadstore/short_atomic_load_store.h:
Regenerate.
* src/atomic_ops/sysdeps/loadstore/int_atomic_load_store.h: Likewise.
* src/atomic_ops/sysdeps/loadstore/char_atomic_load_store.h: Likewise.
* src/atomic_ops/sysdeps/loadstore/atomic_load_store.h: Likewise.
src/Makefile.am
src/atomic_ops/sysdeps/all_aligned_atomic_load_store.h
src/atomic_ops/sysdeps/loadstore/aligned_atomic_load_store.h [deleted file]
src/atomic_ops/sysdeps/loadstore/aligned_atomic_load_store.template [deleted file]
src/atomic_ops/sysdeps/loadstore/atomic_load_store.h
src/atomic_ops/sysdeps/loadstore/atomic_load_store.template
src/atomic_ops/sysdeps/loadstore/char_atomic_load_store.h
src/atomic_ops/sysdeps/loadstore/int_aligned_atomic_load_store.h [deleted file]
src/atomic_ops/sysdeps/loadstore/int_atomic_load_store.h
src/atomic_ops/sysdeps/loadstore/short_aligned_atomic_load_store.h [deleted file]
src/atomic_ops/sysdeps/loadstore/short_atomic_load_store.h