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

Unified Diff: src/core/SkCpu.h

Issue 2322033002: Apple devices do not support CRC32 instructions. Don't believe Clang's lies. (Closed)
Patch Set: Created 4 years, 3 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 | « include/core/SkPreConfig.h ('k') | src/core/SkOpts.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkCpu.h
diff --git a/src/core/SkCpu.h b/src/core/SkCpu.h
index 4fba1d4afed43827d791df2154c3ab05e5977554..4dbe065914e10ba44e7d81cc007aadd2347cf8c6 100644
--- a/src/core/SkCpu.h
+++ b/src/core/SkCpu.h
@@ -80,7 +80,7 @@ inline bool SkCpu::Supports(uint32_t mask) {
features |= NEON|NEON_FMA|VFP_FP16;
#endif
- #if defined(__ARM_FEATURE_CRC32)
+ #if defined(SK_ARM_HAS_CRC32)
features |= CRC32;
#endif
« no previous file with comments | « include/core/SkPreConfig.h ('k') | src/core/SkOpts.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698