Re: Atomic builtins always defined -- bug or feature?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andrew Haley wrote:
Joseph Garvin wrote:
On Fri, Jun 5, 2009 at 1:57 PM, Andrew Haley<aph@xxxxxxxxxx> wrote:
i386 has lock incl, surely, so __sync_add_and_fetch isn't a problem.
It's stuff like __sync_val_compare_and_swap you don't have.
I thought the lock instruction didn't exist until the pentium pro?

I have an actual paper 1989 vintage i386 manual, and lock is defined.


IIRC, lock was present from the original 8086/8088.

David Daney.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux