diff options
author | Sihai Yao <sihai.ysh@alibaba-inc.com> | 2014-04-17 08:00:21 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2014-04-17 08:00:21 -0700 |
commit | f9281df9955fdd11799041ebebd7dc6e4870449a (patch) | |
tree | bfd7b1a7e35688d8d0bd6ef90dc84dbe3fb641aa /ChangeLog | |
parent | 7c6776620db8e48fca492dbcac88d1c0f239dcde (diff) | |
download | glibc-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-- | ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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 |