$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [atomic, x86] need another pair of eyes
From: Tim Blechmann (tim_at_[hidden])
Date: 2012-12-19 06:57:08
>> 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.
that's my understanding, too ... can you review this patch?
thnx, tim