This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: __sync_bool_compare_and_swap
On Fri, Jan 05, 2007 at 05:05:41PM +0000, Andrew Haley wrote:
> But it can't unless you use an architecture that has cmpxchgl.
> cmpxchgl is a 486 instruction; if you compile for 386, we have to
> generate the call because there is no such instruction.
And the older compiler was a Debian packaged one; Debian's compilers
default to generating code for a 486 or later.
--
Daniel Jacobowitz
CodeSourcery