1
1
openmpi/opal/include
Nathan Hjelm e57c3fb3c9 opal/asm: work around possible gcc compiler bug
It seems in some cases (gcc older than v6.0.0) the __atomic_thread_fence is a
no-op with __ATOMIC_ACQUIRE. This appears to be the case with X86_64 so go
ahead and use __ATOMIC_SEQ_CST for the x86_64 read memory barrier. This should
not cause any performance issues as it is equivalent to the memory barrier
in the hand-written atomics.

References #6014

Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
(cherry picked from commit 30119ee339)
Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
2018-11-06 10:28:13 -07:00
..
opal opal/asm: work around possible gcc compiler bug 2018-11-06 10:28:13 -07:00
Makefile.am Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
opal_config_bottom.h Fix the optnone attribute, add extension attribute 2017-12-18 19:18:53 -08:00
opal_config_top.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
opal_stdint.h opal: fix pragma for GCC 6 and later 2016-02-29 13:56:22 +09:00