aboutsummaryrefslogtreecommitdiff
path: root/COPYING.LIB
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 /COPYING.LIB
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 'COPYING.LIB')
0 files changed, 0 insertions, 0 deletions