aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86
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 /sysdeps/x86
parent6b5189eb2000761cd68c3c54c0d03357a9aaec67 (diff)
downloadglibc-167da422b30b35c9eb9fc819ce5d3b3b0d65c6f4.zip
glibc-167da422b30b35c9eb9fc819ce5d3b3b0d65c6f4.tar.gz
glibc-167da422b30b35c9eb9fc819ce5d3b3b0d65c6f4.tar.bz2
Recognize recent x86 CPUs in string.h
Diffstat (limited to 'sysdeps/x86')
-rw-r--r--sysdeps/x86/bits/string.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sysdeps/x86/bits/string.h b/sysdeps/x86/bits/string.h
index 423ad38..8d5daba 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. */