glibc optimizations and x86 variants

Ulrich Drepper drepper@cygnus.com
Thu Apr 1 00:00:00 GMT 1999


"Joseph S. Myers" <jsm28@cam.ac.uk> writes:

> Some of the optimized assembler sources in glibc (2.0.110) for x86
> variants seem to use non-386 instructions.  Does glibc substitute 386
> versions at runtime if needed?  (The INSTALL file says that a library
> compiled for a Pentium will still work on a 386.)

Only if you select -mpentiumpro you'll get code which does not run on
prior processors.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------



More information about the Libc-alpha mailing list