Optimize glibc for Pentium 4

Ulrich Drepper drepper@redhat.com
Thu May 22 20:15:00 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

H. J. Lu wrote:

>    /* XXX Which others to add here?  */
> -  HWCAP_IMPORTANT = (HWCAP_I386_MMX)
> +  HWCAP_IMPORTANT = (HWCAP_I386_MMX | HWCAP_I386_XMM | HWCAP_I386_XMM2)

This won't go in.

Yes, MMX is not very useful and maybe it should be removed.  But XMM and
XMM2 are falling in the same category.  Applications which benefit can
explicitly enable this using the environment variable.

I realize that you want to misuse the xmm/xmm2 paths to enable general
p4 optimization.  That's bogus.  It's only for xmm/xmm2 features.

If you want  specific path for p4 etc then get the kernel to report the
real processor type and not i686.  This is a long overdue extension.

- -- 
- --------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+zS/L2ijCOnn/RHQRAn8tAKCnPfNF3sAh37H+njmcD/zPRKZ57gCeMD06
pjyBZB9x+mlT70BDypVc3FE=
=UFnD
-----END PGP SIGNATURE-----



More information about the Libc-alpha mailing list