e2c46b
From 1cc652f5525f458b0b4ceb12af24bf5a4367db32 Mon Sep 17 00:00:00 2001
e2c46b
From: Nicolas Dufresne <nicolas.dufresne@collabora.com>
e2c46b
Date: Tue, 23 May 2017 13:09:48 -0400
e2c46b
Subject: [PATCH] Bug 1353817: Include SkNx_neon.h for ARM64 too
e2c46b
e2c46b
This fixes build errors as arm_neon.h was missing along with some
e2c46b
missing converters.
e2c46b
---
e2c46b
 gfx/skia/skia/src/core/SkNx.h | 2 +-
e2c46b
 1 file changed, 1 insertion(+), 1 deletion(-)
e2c46b
e2c46b
diff --git a/gfx/skia/skia/src/core/SkNx.h b/gfx/skia/skia/src/core/SkNx.h
e2c46b
index 6bca856..b0427aa 100644
e2c46b
--- a/gfx/skia/skia/src/core/SkNx.h
e2c46b
+++ b/gfx/skia/skia/src/core/SkNx.h
e2c46b
@@ -299,7 +299,7 @@ typedef SkNx<4, uint32_t> Sk4u;
e2c46b
 // Include platform specific specializations if available.
e2c46b
 #if !defined(SKNX_NO_SIMD) && SK_CPU_SSE_LEVEL >= SK_CPU_SSE_LEVEL_SSE2
e2c46b
     #include "../opts/SkNx_sse.h"
e2c46b
-#elif !defined(SKNX_NO_SIMD) && defined(SK_ARM_HAS_NEON)
e2c46b
+#elif !defined(SKNX_NO_SIMD) && (defined(SK_ARM_HAS_NEON) || defined(SK_CPU_ARM64))
e2c46b
     #include "../opts/SkNx_neon.h"
e2c46b
 #else
e2c46b
 
e2c46b
-- 
e2c46b
2.9.4
e2c46b