diff options
| author | Ivan Maidanski <ivmai@mail.ru> | 2017-01-17 00:34:48 +0300 |
|---|---|---|
| committer | Ivan Maidanski <ivmai@mail.ru> | 2017-01-17 00:34:48 +0300 |
| commit | 8262e52fb577c634d8d93d76ec2ddecbdba1f995 (patch) | |
| tree | 05164f6f4598045f28e72af51ae6421881c6371f /configure.ac | |
| parent | aff8affc945d070b0fb5ed8540d78616535ea826 (diff) | |
| download | libatomic_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
