aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-08-18 07:59:49 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-08-18 08:00:00 -0700
commit1814df5b02b9c359052c2048a1d2d617b406a17a (patch)
tree30f5786d3e53d6043ecaab75bdb71cddf6567368 /ChangeLog
parent441c3b59d1e2fca4ad40cf53d03d6196c978e85f (diff)
downloadglibc-1814df5b02b9c359052c2048a1d2d617b406a17a.tar
glibc-1814df5b02b9c359052c2048a1d2d617b406a17a.tar.gz
glibc-1814df5b02b9c359052c2048a1d2d617b406a17a.tar.bz2
glibc-1814df5b02b9c359052c2048a1d2d617b406a17a.zip
Define HAS_CPUID/HAS_I586/HAS_I686 from -march=
cpuid, i586 and i686 instructions are available if the processor specified by -march= supports them. We can use this information to determine whether those instructions can be used safely. * sysdeps/x86/cpu-features.c (init_cpu_features): Check whether cpuid is available only if HAS_CPUID is 0. * sysdeps/x86/cpu-features.h (HAS_CPUID): New. (HAS_I586): Likewise. (HAS_I686): Likewise.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 298bd22941..db5d483180 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
+
+ * sysdeps/x86/cpu-features.c (init_cpu_features): Check
+ whether cpuid is available only if HAS_CPUID is 0.
+ * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
+ (HAS_I586): Likewise.
+ (HAS_I686): Likewise.
+
2015-08-18 Marko Myllynen <myllynen@redhat.com>
[BZ #16973]