
"Helge Bahmann" <hcb@chaoticmind.net> wrote in message news:200912212121.09020.hcb@chaoticmind.net...
Am Monday 21 December 2009 18:21:39 schrieb Chris M. Thomasson:
"Helge Bahmann" <hcb@chaoticmind.net> wrote in message news:alpine.DEB.1.10.0912211630230.31425@m65s28.vlinux.de...
On Mon, 21 Dec 2009, Chris M. Thomasson wrote:
Of course you are right. For some reason, I was thinking that `memory_order_consume' would boil down to a:
MEMBAR #LoadLoad
on a SPARC.
mmh... do you happen to have a Sparc at hand for testing? (Mine is currently broken). If yes, would you mind doing a little bit of testing so we could implement atomic ops for Sparc as well?
Well, Sun Microsystems did give me a brand new Sun Fire T2000 to play with back in 2006 when I was participating in the CoolThreads Contest: https://coolthreads.dev.java.net https://coolthreads.dev.java.net/servlets/ProjectForumMessageView?messageID=11001&forumID=1797 (I created the vZOOM project) I kept it for about two years and then sold it. Unfortunately, I don't have access to a SPARC now. ;^( Humm. Have you had a look at the relevant source code for OpenSolaris? http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/common/atomic/... AFAICT, they implement everything you need. [...]