about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJ. Brown <jb999@gmx.de>2014-10-23 15:28:06 +0200
committerOndřej Bílka <neleai@seznam.cz>2014-11-27 17:21:12 +0100
commit167da422b30b35c9eb9fc819ce5d3b3b0d65c6f4 (patch)
treee7bb407d55971eea32400fcce1cab401343276a1
parent6b5189eb2000761cd68c3c54c0d03357a9aaec67 (diff)
downloadglibc-167da422b30b35c9eb9fc819ce5d3b3b0d65c6f4.tar.gz
glibc-167da422b30b35c9eb9fc819ce5d3b3b0d65c6f4.tar.xz
glibc-167da422b30b35c9eb9fc819ce5d3b3b0d65c6f4.zip
Recognize recent x86 CPUs in string.h
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/x86/bits/string.h7
2 files changed, 10 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e0313b8f07..be49dba5fa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-11-27  J. Brown  <jb999@gmx.de>
+
+	* sysdeps/x86/bits/string.h: Add recent CPUs.
+
 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
 
 	* misc/tst-pselect.c (do_test): Use sigprocmask instead of
diff --git a/sysdeps/x86/bits/string.h b/sysdeps/x86/bits/string.h
index 423ad3880c..8d5dabafd1 100644
--- a/sysdeps/x86/bits/string.h
+++ b/sysdeps/x86/bits/string.h
@@ -29,9 +29,14 @@
 			    || defined __pentiumpro__ || defined __pentium4__ \
 			    || defined __nocona__ || defined __atom__ 	      \
 			    || defined __core2__ || defined __corei7__	      \
+			    || defined __sandybridge__ || defined __haswell__ \
+			    || defined __bonnell__ || defined __silvermont__  \
 			    || defined __k6__ || defined __geode__	      \
 			    || defined __k8__ || defined __athlon__	      \
-			    || defined __amdfam10__)
+			    || defined __amdfam10__ || defined __bdver1__     \
+			    || defined __bdver2__ || defined __bdver3__	      \
+			    || defined __bdver4__ || defined __btver1__	      \
+			    || defined __btver2__)
 
 /* We only provide optimizations if the user selects them and if
    GNU CC is used.  */