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.
This commit is contained in:
Andreas Jaeger 2001-07-14 08:03:37 +00:00
parent 57cda26834
commit 567f6a473a
3 changed files with 13 additions and 4 deletions

View File

@ -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

View File

@ -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] =

View File

@ -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? */