[patch] Shark reroute LLVM atomic intrinsics to Zero

Robert Schuster theBohemian at gmx.net
Mon Mar 30 15:12:02 PDT 2009


Hi Andrew,

Andrew Haley schrieb:
> Definitely; we really don't want a function call just do do an atomic
> cmpxchg.
That is why I opted for enabling it only for the arches that really need
it by using #ifdef.

>  This is really just a workaround for an llvm bug, and hopefully
> it'll soon go away.
Do you know more than me?

The 'bug' is actually a missing feature and I don't see someone working
on this. I tried fixing it myself but it will take me a while until
understand how to use llvm's tablegen syntax to describe the generation
of a series of instructions for the compiler.

Regards
Robert

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20090331/0d5e982d/signature.asc 


More information about the distro-pkg-dev mailing list