Add AO_load primitives generalization based on CAS
authorIvan Maidanski <ivmai@mail.ru>
Thu, 3 Jan 2013 20:09:50 +0000 (00:09 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 3 Jan 2013 20:09:50 +0000 (00:09 +0400)
commit9a9f03225e27ce7e0d34557fb87868b9fdab89ce
tree596f50f718595a20cf805b6ed920e4b793a27f2a
parent45f058c48ad1a8889a5d4fc2c2c50cfb70c5c5ed
Add AO_load primitives generalization based on CAS

* src/atomic_ops/generalize-small.template (AO_XSIZE_load_acquire,
AO_XSIZE_load, AO_XSIZE_load_read, AO_XSIZE_load_acquire_read,
AO_XSIZE_load_full, AO_XSIZE_load_dd_acquire_read,
AO_XSIZE_store_release, AO_XSIZE_store, AO_XSIZE_store_write,
AO_XSIZE_store_release_write, AO_XSIZE_store_full): Move primitive
down to be after CAS defintion section.
* src/atomic_ops/generalize-small.template (AO_XSIZE_load_read,
AO_XSIZE_load_full, AO_XSIZE_load_acquire, AO_XSIZE_load): Add
generalization template primitive based on CAS.
* src/atomic_ops/generalize-small.h: Regenerate.
src/atomic_ops/generalize-small.h
src/atomic_ops/generalize-small.template