
23 Oct
2012
23 Oct
'12
11:14 p.m.
Jan Hudec wrote:
On Wed, Oct 24, 2012 at 00:22:01 +0300, Peter Dimov wrote:
Steven Watanabe wrote:
Seriously, if the compiler is set to compile for an architecture that doesn't support cmpxchg8b, then Boost.Atomic should not generate this instruction.
It's very, very rare for a user to willingly target 386/486 (these processors are all but extinct, not to mention that modern Windows versions simply don't run on them.)
They are extinct in desktop. Not necessarily true of embedded systems.
I can imagine embedded 486 systems still existing, but a default should be right for the 99.9% of the users, not for the 0.1% who can easily use something like #define BOOST_ATOMIC_NO_CMPXCHG8B.