aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 4a26675..2a3e281 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 5cbae3c..75732b4 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 aedb2a6..d1658fa 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? */