aboutsummaryrefslogtreecommitdiff
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
parent57cda26834b9bb3f87fb118311a93331aff034e4 (diff)
downloadglibc-567f6a473aaf3fd0a21687e9f35d183c50023e0f.tar
glibc-567f6a473aaf3fd0a21687e9f35d183c50023e0f.tar.gz
glibc-567f6a473aaf3fd0a21687e9f35d183c50023e0f.tar.bz2
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.
-rw-r--r--ChangeLog7
-rw-r--r--sysdeps/unix/sysv/linux/i386/dl-procinfo.c2
-rw-r--r--sysdeps/unix/sysv/linux/i386/dl-procinfo.h8
3 files changed, 13 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 4a26675f3c..2a3e281d76 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+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.
+
2001-07-13 Andreas Jaeger <aj@suse.de>
* libio/fileops.c: Include unistd.h for lseek64 prototype. Closes
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? */