> 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?
How will we make it independent without new param introduction? New param introduction will make new builtin. We already had that: see initial patch - it contains HLE-featured intrinsics (and builtins), independent of __atomic* K