[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
linuxthreads: why only i686 for %gs pthread_self?
From: |
John Reiser |
Subject: |
linuxthreads: why only i686 for %gs pthread_self? |
Date: |
Mon, 29 Oct 2001 08:14:20 -0800 |
In the linuxthreads add-on to glibc-2.2.4 on i386, why is the use of
modify_ldt and %gs for pthread_self/pthread_setspecific/pthread_getspecific
restricted to i686 only? [See linuxthreads/sysdeps/i386/i686/pt-machine.h]
It ought to work on i386 and above, and certainly on i586 and above.
The %fs, %gs registers appeared in i386.
The cmpxchg instruction appeared in i486.
The cmpxchg8b instruction appeared in Pentium [i586 ?]
The cmovCC instructions appeared in i686 (PentiumPro).
--
John Reiser, address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- linuxthreads: why only i686 for %gs pthread_self?,
John Reiser <=