$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [atomic, x86] need another pair of eyes
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2012-12-19 06:41:30
On Wed, Dec 19, 2012 at 3:34 PM, Tim Blechmann <tim_at_[hidden]> 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.