]> granicus.if.org Git - libatomic_ops/commit
Implement char and/or/xor and short CAS for msftc ARM and X86[_64]
authorIvan Maidanski <ivmai@mail.ru>
Sat, 21 Jan 2017 06:55:44 +0000 (09:55 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 23 Jan 2017 08:04:21 +0000 (11:04 +0300)
commit9182c620e181947df4a402322141b86ffdd0d4be
treeed4ae0c74f663c543fbcae1ae9f25f5b9da5789a
parent4a871e01583aab0d8a040ec84113f7b0b60200d9
Implement char and/or/xor and short CAS for msftc ARM and X86[_64]

* src/atomic_ops/sysdeps/msftc/common32_defs.h [_MSC_VER>1400
&& !_M_ARM] (_InterlockedAnd8, _InterlockedCompareExchange16,
_InterlockedOr8, _InterlockedXor8): Declare intrinsic.
* src/atomic_ops/sysdeps/msftc/x86_64.h [_MSC_VER>1400]
(_InterlockedAnd8, _InterlockedCompareExchange16, _InterlockedOr8,
_InterlockedXor8): Likewise.
* src/atomic_ops/sysdeps/msftc/common32_defs.h [_MSC_VER>1400
&& !_M_ARM] (AO_char_and_full, AO_char_or_full, AO_char_xor_full,
AO_short_fetch_compare_and_swap_full): Implement (using intrinsic).
* src/atomic_ops/sysdeps/msftc/x86_64.h [_MSC_VER>1400]
(AO_char_and_full, AO_char_or_full, AO_char_xor_full,
AO_short_fetch_compare_and_swap_full): Likewise.
src/atomic_ops/sysdeps/msftc/common32_defs.h
src/atomic_ops/sysdeps/msftc/x86_64.h