]> granicus.if.org Git - libatomic_ops/commit
Avoid extra nop_full in stack_pop_acquire if atomic intrinsics used (x86)
authorIvan Maidanski <ivmai@mail.ru>
Thu, 18 Aug 2016 22:05:39 +0000 (01:05 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 18 Aug 2016 22:09:03 +0000 (01:09 +0300)
commit48205b221a6df0244338436825b193b8e869ef29
tree9c36f5b0c7f7cb62b15f42927625cba555877e90
parente22ab43457f837d06a46ba1affcd4881b49cb6d7
Avoid extra nop_full in stack_pop_acquire if atomic intrinsics used (x86)

* src/atomic_ops/generalize.h [AO_HAVE_double_compare_and_swap_acquire]
(AO_compare_double_and_swap_double_acquire): Implement (by redirecting
to AO_double_compare_and_swap_acquire).
* src/atomic_ops/generalize.h [AO_HAVE_double_compare_and_swap_release]
(AO_compare_double_and_swap_double_release): Implement (by redirecting
to AO_double_compare_and_swap_release).
src/atomic_ops/generalize.h