Implement fetch-CAS for s390[x] (gcc)
authorTobias Leich <email@froggs.de>
Thu, 10 Nov 2016 08:02:56 +0000 (09:02 +0100)
committerIvan Maidanski <ivmai@mail.ru>
Sat, 26 Nov 2016 18:36:12 +0000 (21:36 +0300)
commit148dfd5beb5140aaecd53ca264ae1d2ed6f0e930
tree6975d48b3c839c3b2b731bdd3e27a20b8b5126ae
parente451719889ba37eedcd3b8d5d5a890881d2f2ae2
Implement fetch-CAS for s390[x] (gcc)
(Cherry-pick commits c2edeab, 796b2a6 from 'master' branch.)

* src/atomic_ops/sysdeps/gcc/s390.h (AO_compare_and_swap_full): Do not
define if AO_GENERALIZE_ASM_BOOL_CAS.
* src/atomic_ops/sysdeps/gcc/s390.h (AO_fetch_compare_and_swap_full):
Implement; remove TODO item.
src/atomic_ops/sysdeps/gcc/s390.h