mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-28 16:00:22 +02:00
(SCM_FENCE): Use __memory_barrier with the Intel compiler on IA64.
This commit is contained in:
parent
50e0ba57da
commit
189b66ba87
1 changed files with 2 additions and 0 deletions
|
@ -440,6 +440,8 @@ do { \
|
||||||
are implicitly volatile. */
|
are implicitly volatile. */
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
#define SCM_FENCE asm /* volatile */ ("")
|
#define SCM_FENCE asm /* volatile */ ("")
|
||||||
|
#elif defined (__INTEL_COMPILER) && defined (__ia64)
|
||||||
|
#define SCM_FENCE __memory_barrier()
|
||||||
#else
|
#else
|
||||||
#define SCM_FENCE
|
#define SCM_FENCE
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue