about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-05-31 17:52:05 -0700
committerUlrich Drepper <drepper@redhat.com>2009-05-31 17:52:05 -0700
commit963cb6fcb47ca212c0c57cc57bd7510f6549579c (patch)
treee0b12d2f0af3a97193aaa12a7162e6c38b828a4f /ChangeLog
parentfd469aac31dc09f1328c8c4b976f887ebd592c56 (diff)
downloadglibc-963cb6fcb47ca212c0c57cc57bd7510f6549579c.tar.gz
glibc-963cb6fcb47ca212c0c57cc57bd7510f6549579c.tar.xz
glibc-963cb6fcb47ca212c0c57cc57bd7510f6549579c.zip
Simplify CPUID value handling.
SO far Intel and AMD use exactly the same bits meaning the same
things in CPUID index 1.  Simplify the code.  Should an architecture
come along which doesn't use the same semantics then it must use a
different index value than COMMON_CPUID_INDEX_1.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog20
1 files changed, 17 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index dd08740b51..1de4c0dd4f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,24 @@
+2009-05-31  Ulrich Drepper  <drepper@redhat.com>
+
+	* sysdeps/x86_64/multiarch/init-arch.h: Define COMMON_CPUID_INDEX_1
+	instead of INTEL_CPUID_INDEX_1 and AMD_CPUID_INDEX_1.  So far there
+	are no differences.  If an architecture has bits in CPUID index 1
+	meaning different things the values for the COMMON_CPUID_INDEX_1
+	index must not be set.
+	(INTEL_HAS_POPCOUNT, AMD_HAS_POPCOUNT): Removed in favor of...
+	(HAS_POPCOUNT): ...this.  New macro.
+	* sysdeps/x86_64/multiarch/init-arch.c: Use COMMON_CPUID_INDEX_1
+	instead of INTEL_CPUID_INDEX_1 and AMD_CPUID_INDEX_1.  Unify code
+	to set the value for Intel and AMD architectures.
+	* sysdeps/x86_64/cacheinfo.c: Use COMMON_CPUID_INDEX_1 instead of
+	INTEL_CPUID_INDEX_1.
+	* sysdeps/x86_64/multiarch/sched_cpucount.c: Adjust for HAS_POPCOUNT
+	change.
+
 2009-05-30  Andreas Schwab  <schwab@linux-m68k.org>
 
 	* configure.in: Move AC_CANONICAL_HOST before first use of $host
 	and $build.
-	* configure: Regenerated.
 
 2009-05-29  Jakub Jelinek  <jakub@redhat.com>
 
@@ -15,8 +31,6 @@
 	* sysdeps/ieee754/ldbl-128/s_sinl.c: Include <errno.h>.
 	(__sinl): Set errno to EDOM for ±Inf.
 
-2009-05-29  Jakub Jelinek  <jakub@redhat.com>
-
 	* sysdeps/s390/s390-32/__longjmp.c (__longjmp): If CHECK_SP is
 	defined, use it.
 	* sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.