
19 Dec
2012
19 Dec
'12
11:41 a.m.
On Wed, Dec 19, 2012 at 3:34 PM, Tim Blechmann <tim@klingt.org> wrote:
imo, the platform_fence_before/after is not necessary ...
The cmpxchgl asm statement is not viewed as a compiler barrier, so the compiler can reorder the preceeding or subsequent operations with it. But if all asm operations are marked as memory clobbering it looks like the before/after functions become useless and can be removed.