
23 Oct
2012
23 Oct
'12
9:22 p.m.
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.) A GCC target of i386 in practice simply means that a target hasn't been set, not that the user explicitly wanted to target i386. Nobody wants to target i386.