diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2021-10-29 20:24:50 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2021-11-15 09:40:48 +0300 |
commit | 075b0fa4d9fe9140078044b83b763845bcac1317 (patch) | |
tree | 886e39bf80698f4bdc4fdd70fa8eab9c26e7d030 | |
parent | d18420d6c7fa7c6d8e5126f7faa55a8e4ef2e5d3 (diff) | |
download | libatomic_ops-075b0fa4d9fe9140078044b83b763845bcac1317.tar.gz |
Do not name GCC intrinsics as C11 ones in ChangeLog and configure
* ChangeLog (7.6.0): Do not mention C11 when referring to GCC
intrinsics.
* configure.ac (atomic-intrinsics, AO_PREFER_BUILTIN_ATOMICS):
Likewise.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | configure.ac | 8 |
2 files changed, 7 insertions, 7 deletions
@@ -134,16 +134,16 @@ Also, includes 7.4.8 changes * Fix missing double_compare_and_swap_dd_acquire_read * Fix reporting about missing and/or/xor_dd_acquire_read (test_atomic) * Hide AO_locks symbol -* Implement AO_CLEAR using C11 atomic intrinsic (GCC) +* Implement AO_CLEAR using atomic intrinsic (GCC) * Implement CAS_acquire/release/full using __atomic_compare_exchange_n (gcc) * Implement char and/or/xor and short CAS for msftc ARM and X86[_64] * Implement char CAS and char/short add for msftc X86[_64] (VS 2013+) -* Implement compiler_barrier using C11 __atomic_signal_fence (GCC) +* Implement compiler_barrier using __atomic_signal_fence (GCC) * Implement int CAS/inc/dec for msftc/x86_64 * Implement short inc/dec directly for msftc ARM and X86[_64] * Initial ibmc/powerpc (xlc) support * New configure option (--enable-werror) to treat warnings as compiler errors -* New macro AO_PREFER_BUILTIN_ATOMICS to rely on C11 atomics fully (AArch64) +* New macro AO_PREFER_BUILTIN_ATOMICS to rely on GCC atomics fully (AArch64) * Refine AO_nop_write comment for ARM big.LITTLE architecture * Refine configure messages when checking for compiler options * Refine documentation about _full memory ordering suffix diff --git a/configure.ac b/configure.ac index d5b1024..07cf5be 100644 --- a/configure.ac +++ b/configure.ac @@ -124,10 +124,10 @@ fi AC_ARG_ENABLE(atomic-intrinsics, [AC_HELP_STRING([--disable-atomic-intrinsics], - [Do not use C11 atomic intrinsics])]) + [Do not use GCC atomic intrinsics])]) if test "$enable_atomic_intrinsics" = no; then AC_DEFINE([AO_DISABLE_GCC_ATOMICS], 1, - [Define to avoid C11 atomic intrinsics even if available.]) + [Define to avoid GCC atomic intrinsics even if available.]) fi AC_ARG_ENABLE(gcov, AC_HELP_STRING([--enable-gcov], @@ -195,9 +195,9 @@ AH_TEMPLATE([AO_WEAK_DOUBLE_CAS_EMULATION], [Emulate double-width CAS via pthread locking in case of no hardware \ support (only gcc/x86_64, the emulation is unsafe)]) AH_TEMPLATE([AO_PREFER_BUILTIN_ATOMICS], - [Prefer C11 atomic intrinsics over assembly-based implementation \ + [Prefer GCC atomic intrinsics over assembly-based implementation \ even in case of inefficient implementation (do not use assembly for \ - any atomic_ops primitive if C11/GCC atomic intrinsics available)]) + any atomic_ops primitive if the atomic intrinsics are available)]) AC_DEFINE(_REENTRANT, 1, [Required define if using POSIX threads.]) |