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

Unified Diff: src/core/Sk4x.h

Issue 975303003: 4x library for NEON (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: added iteration steps to imprecise calcs 2 Created 5 years, 10 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/core/Sk4x_neon.h » ('j') | tests/Sk4xTest.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/Sk4x.h
diff --git a/src/core/Sk4x.h b/src/core/Sk4x.h
index b01b6f16484d519d1ca58a15a1fe8c5e83f5c992..01ce39f074d896e43979cbaaee9d420a45a1eca9 100644
--- a/src/core/Sk4x.h
+++ b/src/core/Sk4x.h
@@ -6,6 +6,8 @@
#define SK4X_PREAMBLE 1
#if SK_CPU_SSE_LEVEL >= SK_CPU_SSE_LEVEL_SSE2
#include "Sk4x_sse.h"
+ #elif defined(SK_ARM_HAS_NEON)
+ #include "Sk4x_neon.h"
#else
#include "Sk4x_portable.h"
#endif
@@ -81,6 +83,8 @@ private:
#define SK4X_PRIVATE 1
#if SK_CPU_SSE_LEVEL >= SK_CPU_SSE_LEVEL_SSE2
#include "Sk4x_sse.h"
+ #elif defined(SK_ARM_HAS_NEON)
+ #include "Sk4x_neon.h"
#else
#include "Sk4x_portable.h"
#endif
@@ -89,6 +93,8 @@ private:
#if SK_CPU_SSE_LEVEL >= SK_CPU_SSE_LEVEL_SSE2
#include "Sk4x_sse.h"
+#elif defined(SK_ARM_HAS_NEON)
+ #include "Sk4x_neon.h"
#else
#include "Sk4x_portable.h"
#endif
« no previous file with comments | « no previous file | src/core/Sk4x_neon.h » ('j') | tests/Sk4xTest.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698