This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Optimize glibc for Pentium 4
- From: Ulrich Drepper <drepper at redhat dot com>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: GNU C Library <libc-alpha at sources dot redhat dot com>
- Date: Thu, 22 May 2003 13:15:06 -0700
- Subject: Re: Optimize glibc for Pentium 4
- Organization: Red Hat, Inc.
- References: <20030521140656.A30791@lucon.org>
-----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-----