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 /posix/spawnattr_getschedpolicy.c | |
parent | 7c6776620db8e48fca492dbcac88d1c0f239dcde (diff) | |
download | glibc-f9281df9955fdd11799041ebebd7dc6e4870449a.tar.gz glibc-f9281df9955fdd11799041ebebd7dc6e4870449a.tar.xz 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 'posix/spawnattr_getschedpolicy.c')
0 files changed, 0 insertions, 0 deletions