about summary refs log tree commit diff
diff options
context:
space:
mode:
-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.  */