This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Optimize glibc for Pentium 4


I am going to optimize glibc for Pentium 4. The first change is
enclosed here. The next questions are where I put those optimized
functions and how I select them. I am thinking --enable-arch=sse2.
Any comments?


H.J.
---
--- sysdeps/unix/sysv/linux/i386/dl-procinfo.h.p4	2002-09-21 14:14:11.000000000 -0700
+++ sysdeps/unix/sysv/linux/i386/dl-procinfo.h	2003-05-21 13:58:30.000000000 -0700
@@ -92,7 +92,7 @@ enum
   HWCAP_I386_AMD3D = 1 << 31,
 
   /* XXX Which others to add here?  */
-  HWCAP_IMPORTANT = (HWCAP_I386_MMX)
+  HWCAP_IMPORTANT = (HWCAP_I386_MMX | HWCAP_I386_XMM | HWCAP_I386_XMM2)
 
 };
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]