248 Subj : Re: load-after-store reordering for x86 wrt smr... To : comp.programming.threads From : Joe Seigh Date : Mon Mar 14 2005 08:50 pm On Mon, 14 Mar 2005 17:30:20 -0800, SenderX wrote: > Do you think that the store fence is needed in line 8: > > [...] > > > Line 7 would be the first store, line 9 would be the load-after-store from > another location condition. It seems that smr requires explicit barriers on > x86 to prevent the algorithm from crashing... > > > It has to be an mfence. sfence is just store/store. -- Joe Seigh . 0