From c1cb1933d5c80912bb8ed6adaf63cebd2d190064 Mon Sep 17 00:00:00 2001 From: Pascal Massimino Date: Thu, 23 Jan 2014 05:03:02 -0800 Subject: [PATCH] disable NEON for arm64 platform The registers and instructions are quite different to 32bit and the assembly code needs a rewrite. more info: http://people.linaro.org/~rikuvoipio/aarch64-talk/ Change-Id: Id75dbc1b7bf47f43a426ba2831f25bb8fa252c4f --- src/dsp/dsp.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dsp/dsp.h b/src/dsp/dsp.h index 3be783af..b1eccc30 100644 --- a/src/dsp/dsp.h +++ b/src/dsp/dsp.h @@ -36,7 +36,8 @@ extern "C" { #define WEBP_ANDROID_NEON // Android targets that might support NEON #endif -#if defined(__ARM_NEON__) || defined(WEBP_ANDROID_NEON) +#if (defined(__ARM_NEON__) && !defined(__aarch64__)) || \ + defined(WEBP_ANDROID_NEON) #define WEBP_USE_NEON #endif