DescriptionSpeculative fix for AVX2 detection
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
TBR=tomfinegan@chromium.org
BUG=480586
Committed: https://chromium.googlesource.com/chromium/deps/libvpx/+/471ce88a3ab02b1cdc99ebdc0ecf0e361b92c3be
Patch Set 1 #Patch Set 2 : rebase #
Messages
Total messages: 3 (0 generated)
|