Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add AO_GENERALIZE_ASM_BOOL_CAS new macro to allow AO_compare_and_swap
definition via AO_fetch_compare_and_swap instead of own ASM-based one * src/atomic_ops/sysdeps/armcc/arm_v6.h (AO_compare_and_swap): Do not define if AO_GENERALIZE_ASM_BOOL_CAS. * src/atomic_ops/sysdeps/gcc/arm.h (AO_compare_and_swap): Likewise. * src/atomic_ops/sysdeps/gcc/hexagon.h (AO_compare_and_swap): Likewise. * src/atomic_ops/sysdeps/gcc/powerpc.h (AO_compare_and_swap, AO_compare_and_swap_acquire, AO_compare_and_swap_release, AO_compare_and_swap_full): Likewise. * src/atomic_ops/sysdeps/gcc/x86.h (AO_compare_and_swap_full): Likewise. * src/atomic_ops/sysdeps/gcc/x86_64.h (AO_compare_and_swap_full): Likewise. * src/atomic_ops/sysdeps/sunc/x86.h (AO_compare_and_swap_full): Likewise. * src/atomic_ops/sysdeps/sunc/x86_64.h (AO_compare_and_swap_full): Likewise.
- Loading branch information
Showing
8 changed files
with
224 additions
and
199 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.