about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-07-14 08:03:37 +0000
committerAndreas Jaeger <aj@suse.de>2001-07-14 08:03:37 +0000
commit567f6a473aaf3fd0a21687e9f35d183c50023e0f (patch)
tree17938404c9de99d74c4b2ddc0635be8ff0e487f4 /sysdeps
parent57cda26834b9bb3f87fb118311a93331aff034e4 (diff)
downloadglibc-567f6a473aaf3fd0a21687e9f35d183c50023e0f.tar.gz
glibc-567f6a473aaf3fd0a21687e9f35d183c50023e0f.tar.xz
glibc-567f6a473aaf3fd0a21687e9f35d183c50023e0f.zip
Update.
2001-07-09  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/i386/dl-procinfo.c: Name entry for xmm2.

	* sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add HWCAP_I386_XMM,
	HWCAP_I386_XMM2 to enum.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/i386/dl-procinfo.c2
-rw-r--r--sysdeps/unix/sysv/linux/i386/dl-procinfo.h8
2 files changed, 6 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/dl-procinfo.c b/sysdeps/unix/sysv/linux/i386/dl-procinfo.c
index 5cbae3c91f..75732b4e48 100644
--- a/sysdeps/unix/sysv/linux/i386/dl-procinfo.c
+++ b/sysdeps/unix/sysv/linux/i386/dl-procinfo.c
@@ -29,7 +29,7 @@ const char _dl_x86_cap_flags[][7] =
     "fpu", "vme", "de", "pse", "tsc", "msr", "pae", "mce",
     "cx8", "apic", "10", "sep", "mtrr", "pge", "mca", "cmov",
     "pat", "pse36", "psn", "19", "20", "21", "22", "mmx",
-    "osfxsr", "xmm", "26", "27", "28", "29", "30", "amd3d"
+    "osfxsr", "xmm", "xmm2", "27", "28", "29", "30", "amd3d"
   };
 
 const char _dl_x86_platforms[][5] =
diff --git a/sysdeps/unix/sysv/linux/i386/dl-procinfo.h b/sysdeps/unix/sysv/linux/i386/dl-procinfo.h
index aedb2a6bc4..d1658fafde 100644
--- a/sysdeps/unix/sysv/linux/i386/dl-procinfo.h
+++ b/sysdeps/unix/sysv/linux/i386/dl-procinfo.h
@@ -29,12 +29,12 @@ extern const char _dl_x86_cap_flags[][7];
 #define _DL_HWCAP_COUNT 32
 
 extern const char _dl_x86_platforms[][5];
-#define _DL_PLATFORMS_COUNT 	4
+#define _DL_PLATFORMS_COUNT	4
 
 /* Start at 48 to reserve some space.  */
-#define _DL_FIRST_PLATFORM 	48
+#define _DL_FIRST_PLATFORM	48
 /* Mask to filter out platforms.  */
-#define _DL_HWCAP_PLATFORM 	(7ULL << _DL_FIRST_PLATFORM)
+#define _DL_HWCAP_PLATFORM	(7ULL << _DL_FIRST_PLATFORM)
 
 
 static inline int
@@ -90,6 +90,8 @@ enum
   HWCAP_I386_FCMOV = 1 << 16,
   HWCAP_I386_MMX   = 1 << 23,
   HWCAP_I386_OSFXSR = 1 << 24,
+  HWCAP_I386_XMM   = 1 << 25,
+  HWCAP_I386_XMM2  = 1 << 26,
   HWCAP_I386_AMD3D = 1 << 31,
 
   /* XXX Which others to add here?  */