[cfe-dev] atomic intrinsics
Howard Hinnant
hhinnant at apple.com
Wed Oct 6 07:38:43 PDT 2010
On Oct 6, 2010, at 9:59 AM, David Chisnall wrote:
> The other issue is that a particular target might only support some subset of these operations. In this case, it's probably still cleaner to have the fallback code in the back end, because then optimisations can work more easily, with the high-level knowledge of the operations.
I've been assuming that if we go this direction (and I think it is a very good idea), that the fallback (locking) code would be in compiler-rt, though I have no strong opinion concerning where it should be.
-Howard
More information about the cfe-dev
mailing list