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

Unified Diff: src/core/Sk2x.h

Issue 1020963002: Specialize Sk2d for ARM64 (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Avoid use of vset[q]_lane, instead intializing vectors directly. Created 5 years, 9 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/SkPMFloat.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/Sk2x.h
diff --git a/src/core/Sk2x.h b/src/core/Sk2x.h
index 3fbe76c37f083df651629ee3889ee39599555710..a64ad721a5f9aad5d812ff1ace5331c47b31b9ae 100644
--- a/src/core/Sk2x.h
+++ b/src/core/Sk2x.h
@@ -14,7 +14,7 @@
#define SK2X_PREAMBLE 1
#if SK_CPU_SSE_LEVEL >= SK_CPU_SSE_LEVEL_SSE2 && !defined(SKNX_NO_SIMD)
#include "../opts/Sk2x_sse.h"
- #elif defined(__ARM_NEON__) && !defined(SKNX_NO_SIMD)
+ #elif defined(SK_ARM_HAS_NEON) && !defined(SKNX_NO_SIMD)
#include "../opts/Sk2x_neon.h"
#else
#include "../opts/Sk2x_none.h"
@@ -71,7 +71,7 @@ private:
#define SK2X_PRIVATE 1
#if SK_CPU_SSE_LEVEL >= SK_CPU_SSE_LEVEL_SSE2 && !defined(SKNX_NO_SIMD)
#include "../opts/Sk2x_sse.h"
- #elif defined(__ARM_NEON__) && !defined(SKNX_NO_SIMD)
+ #elif defined(SK_ARM_HAS_NEON) && !defined(SKNX_NO_SIMD)
#include "../opts/Sk2x_neon.h"
#else
#include "../opts/Sk2x_none.h"
@@ -81,7 +81,7 @@ private:
#if SK_CPU_SSE_LEVEL >= SK_CPU_SSE_LEVEL_SSE2 && !defined(SKNX_NO_SIMD)
#include "../opts/Sk2x_sse.h"
-#elif defined(__ARM_NEON__) && !defined(SKNX_NO_SIMD)
+#elif defined(SK_ARM_HAS_NEON) && !defined(SKNX_NO_SIMD)
#include "../opts/Sk2x_neon.h"
#else
#include "../opts/Sk2x_none.h"
« no previous file with comments | « include/core/SkPreConfig.h ('k') | src/core/SkPMFloat.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698