You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make GCC atomics the default atomic implementation
Access to C11 _Atomic variables incurs sequential memory ordering, which
compiles to atomic operations and in many cases is not desired (initialization,
non-multi-threaded runs). This change makes GCC atomics the default
and uses C11 atomics as a fallback.
Signed-off-by: Joseph Schuchart <schuchart@icl.utk.edu>
[Enable use of C11 atomics if available (default: use if available, disabled by default on 64-bit PowerPC)])])
612
+
[Enable use of C11 atomics if available. Note: GCC builtin atomics are currently preferred over C11 atomics. (default: use if available, disabled by default on 64-bit PowerPC)])])
613
613
614
614
AC_ARG_ENABLE([builtin-atomics],
615
615
[AS_HELP_STRING([--enable-builtin-atomics],
616
-
[Enable use of GCC built-in atomics. Note that C11 atomics are preferred over built-in atomics. (default: use if available, disabled by default on 64-bit PowerPC)])])
616
+
[Enable use of GCC built-in atomics. Currently preferred over C11 atomics. (default: use if available, disabled by default on 64-bit PowerPC)])])
0 commit comments