[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Full support of functions for atomic memory access in gcc?



On Wed, 21 Jul 2010, Manuel Prinz wrote:

> [ Please CC me in replies, I'm not subscribed. ]
> 
> Dear porters,
> 
> I'm trying to fix some long-standing issues in one of my packages 
> (src:openmpi). It does not build on m68k since no atomic primitives are 
> provided by upstream. Upstream agreed to solve this by using the 
> build-in primitives when compiled with gcc but I was unable to find out 
> if those are supported on m68k.
> 
> Could you please enlighten me whether or not there is support for that 
> on m68k? (Only read memory barriers would be sufficient.)

Is __sync_synchronize() sufficient?

> Also, are high resolution timers available?

I don't know. I can check for a particular API if that would help. Which 
API is it that you need?

Finn

> 
> Any hint or pointers to further documentation would be great, as I'm not 
> very familiar with the issue at hand at the moment! Thanks in advance!
> 
> Best regards,
> Manuel


Reply to: