V3: use generic atomic ops, move atomic-ops detection into , configure.target

Phil Edwards pedwards@disaster.jaj.com
Fri Nov 17 12:30:00 GMT 2000


On Fri, Nov 17, 2000 at 12:15:39PM -0800, Benjamin Kosnik wrote:
> > The generic stub implementations aren't actually atomic, e.g., __atomic_add
> > is done with "*__mem += __val;" rather than assembly.
> 
> Riiiiight. Kind of hard to write in generic assembly, no?

Exactly.  (Although, hey, Knuth did it...)


Phil

-- 
pedwards at disaster dot jaj dot com  |  pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools.  Fools are protected by more capable fools.


More information about the Libstdc++ mailing list