aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorSihai Yao <sihai.ysh@alibaba-inc.com>2014-04-17 08:00:21 -0700
committerH.J. Lu <hjl.tools@gmail.com>2014-04-17 08:00:21 -0700
commitf9281df9955fdd11799041ebebd7dc6e4870449a (patch)
treebfd7b1a7e35688d8d0bd6ef90dc84dbe3fb641aa /ChangeLog
parent7c6776620db8e48fca492dbcac88d1c0f239dcde (diff)
downloadglibc-f9281df9955fdd11799041ebebd7dc6e4870449a.tar
glibc-f9281df9955fdd11799041ebebd7dc6e4870449a.tar.gz
glibc-f9281df9955fdd11799041ebebd7dc6e4870449a.tar.bz2
glibc-f9281df9955fdd11799041ebebd7dc6e4870449a.zip
Detect if AVX2 is usable
This patch checks and sets bit_AVX2_Usable in __cpu_features.feature. * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7): New. * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Check and set bit_AVX2_Usable. * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New macro. (bit_AVX2): Likewise. (index_AVX2_Usable): Likewise. (CPUID_AVX2): Likewise. (HAS_AVX2): Likewise.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog13
1 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 7267472884..97ddfa78ef 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
+
+ * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
+ New.
+ * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
+ Check and set bit_AVX2_Usable.
+ * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
+ macro.
+ (bit_AVX2): Likewise.
+ (index_AVX2_Usable): Likewise.
+ (CPUID_AVX2): Likewise.
+ (HAS_AVX2): Likewise.
+
2014-04-17 Will Newton <will.newton@linaro.org>
* manual/setjmp.texi (System V contexts): Add note that