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

Lothar Scholz scholz at scriptolutions.com
Sat May 9 08:23:00 PDT 2009

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.

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 scriptolutions.com

More information about the Gc mailing list