From: Eric Botcazou <ebotca...@adacore.com> Date: Tue, 28 Jun 2011 10:11:03 +0200
> The V8 architecture manual is quite clear about it: TSO allows stores to be > reordered after subsequent loads (it's the only difference in TSO with Strong > Consistency) so you need to do something to have a full memory barrier. As > there is no specific instruction to that effect in V8, you need to do what is > done for pre-SSE2 x86, i.e. use an atomic instruction. Fair enough, you can add this code if you want.