commit | ea4ce75ca4525ad42dd90b2a210f99bd2b3a7c03 | [log] [tgz] |
---|---|---|
author | Johann <johannkoenig@google.com> | Thu May 07 18:43:21 2015 |
committer | Johann <johannkoenig@google.com> | Thu May 07 18:43:21 2015 |
tree | 923d38303d81c62510bd613d284525454a020e27 | |
parent | e0e99d9465ba716b0fbbcc3e1ab5d6e5e7169f44 [diff] |
Cherry pick "Speculative fix for AVX2 detection" In master since 2386: https://codereview.chromium.org/1104213004 Crashes on non-avx2 processors point to possible misdetection. Cherry pick https://chromium-review.googlesource.com/267345 x86_simd_caps: check max cpuid before testing AVX2 structured extended feature flags require eax = 7; avoids incorrectly detecting avx2 on some older processors that support avx. from [1]: INPUT EAX = 0: Returns CPUID’s Highest Value for Basic Processor Information and the Vendor Identification String [1] http://www.intel.com/content/www/us/en/processors/processor-identification BUG=480586 Review URL: https://codereview.chromium.org/1131963004