This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]