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
This commit is contained in:
Pascal Massimino 2014-01-23 05:03:02 -08:00
parent 4d493f8db2
commit c1cb1933d5

View File

@ -36,7 +36,8 @@ extern "C" {
#define WEBP_ANDROID_NEON // Android targets that might support NEON #define WEBP_ANDROID_NEON // Android targets that might support NEON
#endif #endif
#if defined(__ARM_NEON__) || defined(WEBP_ANDROID_NEON) #if (defined(__ARM_NEON__) && !defined(__aarch64__)) || \
defined(WEBP_ANDROID_NEON)
#define WEBP_USE_NEON #define WEBP_USE_NEON
#endif #endif