This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Testsuite ad RedHat 7
On Wed, Oct 11, 2000 at 10:40:40AM -0700, Geoff Keating wrote:
> Michael Meding <Michael@Meding.net> writes:
>
> > Where actually are the advantages of a glibc compiled for 686 and one
> > for 386 ? What difference can I expect ? Again is there some page
> > referring to this ?
>
> The primary differences are that posix thread locks are faster, because
> the 686 series have more atomic instructions.
There are other differences:
- one is scheduled for 386, the other for 686 (and uses cmoves)
- the preview 686 glibc uses %gs for thread local pointers, which speeds
threads a bit and makes it possible to set stack sizes in threaded programs
(that glibc was compiled with --enable-kernel=2.4.0, so you need actually
a 2.4.0 kernel to be able to run anything).
Jakub