On Thu, 2012-04-12 at 18:13 +0400, Kirill Yukhin wrote: > > I would suggest that we keep the HLE acq/rel bits independent of the > > memory order bits. Both are independent on a conceptual level. And we > > should add documentation that tells programmers that memory orders need > > always be specified. > > > Sorry, I didn't get your point. You propose to separate HLE-capable > builtins at all?
No, just the bits; programmers would need to do __atomic_...(..., __ATOMIC_RELEASE | HLE_RELEASE); I believe this is what you had in one of your versions of the patch. My suggestions was not about doing something new but instead a suggestions/poll for a resolution of the discussion.