Index: include/core/SkPostConfig.h |
diff --git a/include/core/SkPostConfig.h b/include/core/SkPostConfig.h |
index 73c8fa1ea792298bbd7b8e03fa073efc9834658e..2074230ba620130da8af3e9bb22e32f5968a7d61 100644 |
--- a/include/core/SkPostConfig.h |
+++ b/include/core/SkPostConfig.h |
@@ -297,6 +297,14 @@ |
# endif |
#endif |
+#if defined(SK_BUILD_FOR_WIN) |
+ #define SK_VECTORCALL __vectorcall |
+#elif defined(SK_CPU_ARM32) |
+ #define SK_VECTORCALL __attribute__((pcs("aapcs-vfp"))) |
+#else |
+ #define SK_VECTORCALL |
+#endif |
+ |
////////////////////////////////////////////////////////////////////// |
#if defined(__clang__) || defined(__GNUC__) |