Optimize glibc for Pentium 4
H. J. Lu
hjl@lucon.org
Thu May 22 20:32:00 GMT 2003
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.
More information about the Libc-alpha
mailing list