Re: FW: problem compiling guile on IA64 by Intel compiler
Delivery-date: Wed, 09 Jul 2003 08:23:23 -0400 From: "Sysoltsev, Vyatcheslav" <[EMAIL PROTECTED]> void __memory_barrier(void); Is this what is needed? i believe so. perhaps inhibition of only data-access instructions is not as strong as is necessary, but it's a start. code for 1.4.x now reads as follows: #if defined (__INTEL_COMPILER) && defined (__ia64) #define SCM_FENCE __memory_barrier() #else ... #endif we can update this should it prove insufficient. thanks for the info. thi ___ Bug-guile mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-guile
RE: FW: problem compiling guile on IA64 by Intel compiler
There is intrinsic in Intel compiler: void __memory_barrier(void); This intrinsic does not generate code, but it creates a barrier across which the compiler will not schedule data access instructions. Is this what is needed? --Slava -Original Message- From: Thien-Thi Nguyen [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2003 2:25 PM To: Sysoltsev, Vyatcheslav Cc: Briltz, Denis; [EMAIL PROTECTED] Subject: Re: FW: problem compiling guile on IA64 by Intel compiler From: "Sysoltsev, Vyatcheslav" <[EMAIL PROTECTED]> Date: Wed, 9 Jul 2003 13:49:20 +0400 No, Intel compiler doesn't plan to support ia64 asm inlines in foreseeable future. looking at __scm.h closely, i see the inline asm is just an implementation detail of SCM_FENCE, but SCM_FENCE is important anyway (having it be defined to be nothing is indeed dangerous). so the question becomes: does the intel compiler have an alternate method to guarantee ordering as required by SCM_FENCE? sorry for not asking this earlier, when you had said you would be willing to dig into the issue. thi ___ Bug-guile mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-guile
Re: FW: problem compiling guile on IA64 by Intel compiler
From: "Sysoltsev, Vyatcheslav" <[EMAIL PROTECTED]> Date: Wed, 9 Jul 2003 13:49:20 +0400 No, Intel compiler doesn't plan to support ia64 asm inlines in foreseeable future. looking at __scm.h closely, i see the inline asm is just an implementation detail of SCM_FENCE, but SCM_FENCE is important anyway (having it be defined to be nothing is indeed dangerous). so the question becomes: does the intel compiler have an alternate method to guarantee ordering as required by SCM_FENCE? sorry for not asking this earlier, when you had said you would be willing to dig into the issue. thi ___ Bug-guile mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-guile
RE: FW: problem compiling guile on IA64 by Intel compiler
No, Intel compiler doesn't plan to support ia64 asm inlines in foreseeable future. --Slava -Original Message- From: Thien-Thi Nguyen [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2003 1:44 PM To: Sysoltsev, Vyatcheslav Cc: Briltz, Denis; [EMAIL PROTECTED] Subject: Re: FW: problem compiling guile on IA64 by Intel compiler From: "Sysoltsev, Vyatcheslav" <[EMAIL PROTECTED]> Date: Wed, 9 Jul 2003 09:03:57 +0400 Starting from 8.0 Intel compiler defines GNUC macroses. that's very strange (IMHO). anyway, does the intel compiler have plans to support ia64 inline asm in the future? we would have to change the code again at that time. thi ___ Bug-guile mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-guile
Re: FW: problem compiling guile on IA64 by Intel compiler
From: "Sysoltsev, Vyatcheslav" <[EMAIL PROTECTED]> Date: Wed, 9 Jul 2003 09:03:57 +0400 Starting from 8.0 Intel compiler defines GNUC macroses. that's very strange (IMHO). anyway, does the intel compiler have plans to support ia64 inline asm in the future? we would have to change the code again at that time. thi ___ Bug-guile mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-guile
RE: FW: problem compiling guile on IA64 by Intel compiler
Starting from 8.0 Intel compiler defines GNUC macroses. Thanks for response. --Slava -Original Message- From: Thien-Thi Nguyen [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 10:06 PM To: Sysoltsev, Vyatcheslav Cc: [EMAIL PROTECTED]; Briltz, Denis Subject: Re: FW: problem compiling guile on IA64 by Intel compiler From: "Sysoltsev, Vyatcheslav" <[EMAIL PROTECTED]> Date: Tue, 8 Jul 2003 19:46:20 +0400 -#ifdef __GNUC__ +#if defined(__GNUC__) && !(defined(__INTEL_COMPILER) ... why does the intel compiler define __GNUC__ ? perhaps there is a bug in another guile header? thi ___ Bug-guile mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-guile