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
atomic/gcc_builtin: only apply the workaround when required.
A performance regression was reported when using the workaround
`__asm__ __volatile__("" : : : "memory");`
instead of
`__atomic_thread_fence(__ATOMIC_ACQUIRE);`
on a large SMP with recent GCC compiler.
So only use the workaround on x86_64 when a busted GCC compiler is used.
Thanks S. Biplab Raut for reporting this issue.
Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
0 commit comments