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

Unified Diff: base/cpu.h

Issue 2458333002: Add popcnt support for pnacl (Closed)
Patch Set: Add popcnt test for clang Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/cpu.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/cpu.h
diff --git a/base/cpu.h b/base/cpu.h
index 0e4303bfa0b4d5819a1ac21488d2e1a721caa2dd..0e24df61ddfd470c8d4a4133755b8f8550746015 100644
--- a/base/cpu.h
+++ b/base/cpu.h
@@ -46,6 +46,7 @@ class BASE_EXPORT CPU {
bool has_ssse3() const { return has_ssse3_; }
bool has_sse41() const { return has_sse41_; }
bool has_sse42() const { return has_sse42_; }
+ bool has_popcnt() const { return has_popcnt_; }
bool has_avx() const { return has_avx_; }
bool has_avx2() const { return has_avx2_; }
bool has_aesni() const { return has_aesni_; }
@@ -74,6 +75,7 @@ class BASE_EXPORT CPU {
bool has_ssse3_;
bool has_sse41_;
bool has_sse42_;
+ bool has_popcnt_;
bool has_avx_;
bool has_avx2_;
bool has_aesni_;
« no previous file with comments | « no previous file | base/cpu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698