Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(301)

Issue 1104213004: Speculative fix for AVX2 detection (Closed)

Created:
5 years, 8 months ago by Johann
Modified:
5 years, 7 months ago
Reviewers:
jzern, Tom Finegan
CC:
wwcv, fgalligan1, Tom Finegan
Base URL:
https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Speculative 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -6 lines) Patch
M source/libvpx/vpx_ports/x86.h View 3 chunks +8 lines, -6 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Johann
James - any objection to landing this so it can start soaking to see if ...
5 years, 8 months ago (2015-04-27 21:07:14 UTC) #1
jzern
On 2015/04/27 21:07:14, Johann wrote: > James - any objection to landing this so it ...
5 years, 7 months ago (2015-04-28 21:31:31 UTC) #2
Johann
5 years, 7 months ago (2015-04-28 21:32:28 UTC) #3
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
471ce88a3ab02b1cdc99ebdc0ecf0e361b92c3be (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698