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

Unified Diff: src/base/cpu.h

Issue 878063002: [x86] Disable AVX unless the operating system explicitly claims to support it. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix compilation. Created 5 years, 11 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 | src/base/cpu.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/base/cpu.h
diff --git a/src/base/cpu.h b/src/base/cpu.h
index 193ea5a921b0e7d78d9d71f29c97571bc6f8b35a..e8a6c8ea267b899c16eee7675bc4e17a7b208721 100644
--- a/src/base/cpu.h
+++ b/src/base/cpu.h
@@ -83,6 +83,7 @@ class CPU FINAL {
bool has_ssse3() const { return has_ssse3_; }
bool has_sse41() const { return has_sse41_; }
bool has_sse42() const { return has_sse42_; }
+ bool has_osxsave() const { return has_osxsave_; }
bool has_avx() const { return has_avx_; }
bool has_fma3() const { return has_fma3_; }
bool is_atom() const { return is_atom_; }
@@ -121,6 +122,7 @@ class CPU FINAL {
bool has_sse41_;
bool has_sse42_;
bool is_atom_;
+ bool has_osxsave_;
bool has_avx_;
bool has_fma3_;
bool has_idiva_;
« no previous file with comments | « no previous file | src/base/cpu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698