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

Issue 6526005: detect cpu feature for all x64 and x86 platforms (no longer windows only). (Closed)

Created:
9 years, 10 months ago by jiesun
Modified:
9 years, 7 months ago
Reviewers:
fbarchard
CC:
chromium-reviews, brettw-cc_chromium.org
Visibility:
Public.

Description

detect cpu feature for all x64 and x86 platforms (no longer windows only). BUG=None TEST=trybot Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=75150

Patch Set 1 #

Patch Set 2 : style #

Total comments: 3

Patch Set 3 : use cpuid.h #

Total comments: 3

Patch Set 4 : expose other SIMD features #

Patch Set 5 : copy left year #

Patch Set 6 : inline implementation #

Total comments: 1

Patch Set 7 : sse4.2 #

Patch Set 8 : model #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -5 lines) Patch
M base/base.gypi View 1 chunk +0 lines, -1 line 0 comments Download
M base/cpu.h View 1 2 3 4 5 6 4 chunks +17 lines, -1 line 0 comments Download
M base/cpu.cc View 1 2 3 4 5 6 7 3 chunks +74 lines, -3 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
jiesun
please help to review.
9 years, 10 months ago (2011-02-15 00:44:49 UTC) #1
fbarchard
http://codereview.chromium.org/6526005/diff/3001/base/cpu.cc File base/cpu.cc (right): http://codereview.chromium.org/6526005/diff/3001/base/cpu.cc#newcode1 base/cpu.cc:1: // Copyright (c) 2006-2008 The Chromium Authors. All rights ...
9 years, 10 months ago (2011-02-15 01:42:56 UTC) #2
jiesun
thanks for review. please have another look.
9 years, 10 months ago (2011-02-15 21:12:11 UTC) #3
fbarchard
LGTM w/ nits in future you might want to support arm in future you may ...
9 years, 10 months ago (2011-02-15 21:30:11 UTC) #4
fbarchard
hmmm. cpuid.h exists on my lucid box. You may need to do your own macro? ...
9 years, 10 months ago (2011-02-15 21:41:56 UTC) #5
fbarchard
On 2011/02/15 21:41:56, fbarchard wrote: > hmmm. cpuid.h exists on my lucid box. You may ...
9 years, 10 months ago (2011-02-15 22:29:33 UTC) #6
fbarchard
http://codereview.chromium.org/6526005/diff/2005/base/cpu.cc File base/cpu.cc (right): http://codereview.chromium.org/6526005/diff/2005/base/cpu.cc#newcode116 base/cpu.cc:116: has_sse4_ = (cpu_info[2] & 0x00080000) != 0; I think ...
9 years, 10 months ago (2011-02-16 00:30:15 UTC) #7
fbarchard
9 years, 10 months ago (2011-02-16 00:44:39 UTC) #8
LGTM

Powered by Google App Engine
This is Rietveld 408576698