summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2017-01-17 00:34:48 +0300
committerIvan Maidanski <ivmai@mail.ru>2017-01-17 00:34:48 +0300
commit8262e52fb577c634d8d93d76ec2ddecbdba1f995 (patch)
tree05164f6f4598045f28e72af51ae6421881c6371f /configure.ac
parentaff8affc945d070b0fb5ed8540d78616535ea826 (diff)
downloadlibatomic_ops-8262e52fb577c634d8d93d76ec2ddecbdba1f995.tar.gz
Implement int CAS/inc/dec for msftc/x86_64
* src/atomic_ops/sysdeps/msftc/x86_64.h (_InterlockedExchangeAdd): Declare (as intrinsic) only unless AO_PREFER_GENERALIZED. * src/atomic_ops/sysdeps/msftc/x86_64.h (_InterlockedCompareExchange): Declare intrinsic. * src/atomic_ops/sysdeps/msftc/x86_64.h [!AO_PREFER_GENERALIZED] (_InterlockedIncrement, _InterlockedDecrement): Likewise. * src/atomic_ops/sysdeps/msftc/x86_64.h (AO_int_fetch_compare_and_swap_full): Define inline function (using _InterlockedCompareExchange). * src/atomic_ops/sysdeps/msftc/x86_64.h (AO_int_fetch_and_add_full): Do not define if AO_PREFER_GENERALIZED. * src/atomic_ops/sysdeps/msftc/x86_64.h [!AO_PREFER_GENERALIZED] (AO_int_fetch_and_add1_full, AO_int_fetch_and_sub1_full): Define inline function _InterlockedIncrement/Decrement).
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions