Testsuite ad RedHat 7

Jakub Jelinek jakub@redhat.com
Wed Oct 11 10:45:00 GMT 2000


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


More information about the Gcc mailing list