Re[3]: [Gc] No "lib_atomic_ops" for programs i386/amd64 with SunStudio

Ivan Maidanski ivmai at
Sat May 9 11:30:28 PDT 2009


Lothar Scholz <scholz at> wrote:
> Hello Ivan,
> IM> I'm currently using -DAO_USE_PTHREAD_DEFS.
> IM> It would be nice if someone ports gcc x86.h/x86_64.h/ia64.h
> IM> inline asm to ".S" file recognizable by suncc.

Or there may be a way to get inline asm working on suncc (at least on the latest suncc releases).

> Well, i thought about this and then i looked at the implementation.
> Using a pthread_mutex lock/unlock around every single load/store
> does seem to be insane, considering that AO_load/AO_store are used
> very frequently.
> -- 
> Best regards,
>  Lothar Scholz                mailto:scholz at


More information about the Gc mailing list