https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90606
Ruslan Nikolaev <nruslan_devel at yahoo dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nruslan_devel at yahoo dot com --- Comment #1 from Ruslan Nikolaev <nruslan_devel at yahoo dot com> --- Yes, mfence is twice as slower on my machine as well. Btw, clang generates xchg for the same code.