[trans-mem] STM GCC Implementation

2010-01-11 Thread Riyadh Baghdadi
Hi, I'm doing some experiments on the STM implementation on GCC, but I need some info since the documentation is still not available, What is the syntax currently adopted in STM_GCC, martin told me that the old syntax "#pragma atomic" is not used in the current implementation and that possibly it

Re: [trans-mem] STM GCC Implementation

2010-01-11 Thread Riyadh Baghdadi
Thank you, There is one more "link" problem (for an intrinsic function) : libitm.so: undefined reference to `__sync_add_and_fetch_8' I found on the Net that there was a bug related to this on GCC 4.2, the solution was to specify the architecture (-march=i686) at compile time, but this doesn't sol

Re: [trans-mem] STM GCC Implementation

2010-01-21 Thread Riyadh Baghdadi
When compiling a transactional program, the compiler doesn't recognize "__sync_add_and_fetch_8", it shows the following error message : libitm.so: undefined reference to `__sync_add_and_fetch_8' I suppose that this is an interinsic function and doesn't need a linker, is it a bug ? To configure G