Boost logo

Boost :

Subject: Re: [boost] Default x86 instruction set
From: Peter Dimov (lists_at_[hidden])
Date: 2013-05-07 12:56:16


Andrey Semashev wrote:
> Actually, I was inaccurate in my previous statement; 80386 does support
> lock prefix, so atomic instructions are safe.

Not really. It does support XCHG, LOCK INC, LOCK DEC, but not LOCK CMPXCHG
or LOCK XADD. So it's fairly useless for any kind of "serious" atomic work.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk