GCC/GLIBC and non-temporal instructions

2012-01-03 Thread Sergey Oboguev
I have multi-threaded C++ application that relies on fine-grain parallelism and makes extensive use of interlocked instructions and memory barriers for inter-thread synchronization and communication. I currently use LFENCE/SFENCE/MFENCE instructions for memory barriers (on processors that have

Re: GCC/GLIBC and non-temporal instructions

2012-01-03 Thread Sergey Oboguev
Oboguev Cc: gcc@gcc.gnu.org Sent: Tue, January 3, 2012 11:24:15 AM Subject: Re: GCC/GLIBC and non-temporal instructions Sergey Oboguev writes: > The question is whether there is any GCC/runtime policy on non-temporal > SSE/3DNow instructions? As far as I know gcc will never generate a

Re: GCC/GLIBC and non-temporal instructions

2012-01-03 Thread Sergey Oboguev
Oboguev Cc: gcc@gcc.gnu.org Sent: Tue, January 3, 2012 12:08:22 PM Subject: Re: GCC/GLIBC and non-temporal instructions Sergey Oboguev writes: > Well, all these > > storent > emit_storent_insn > may_use_storent_in_loop > storent_optab

CLOOG-PPL fails to build (OS X)

2012-05-11 Thread Sergey Oboguev
I am trying to build GCC 4.7.0 on OS X. I have compiled and installed (via make install) GMP, MPFR, MPC and PPL 0.11. However when I am trying to build CLOOG-PPL 0.15.11 it fails to build. During ./configure it says: checking for location of PolyLib... installed in standard location check