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: "H. J. Lu" <hjl at lucon dot org>
- To: Ulrich Drepper <drepper at redhat dot com>
- Cc: GNU C Library <libc-alpha at sources dot redhat dot com>
- Date: Thu, 22 May 2003 13:32:50 -0700
- Subject: Re: Optimize glibc for Pentium 4
- References: <20030521140656.A30791@lucon.org> <3ECD2FCA.5000907@redhat.com>
On Thu, May 22, 2003 at 01:15:06PM -0700, Ulrich Drepper wrote:
> -----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
I want ld.so to load a different libc.so.
> real processor type and not i686. This is a long overdue extension.
>
I will talk to kernel people on that.
H.J.