mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-27 06:08:21 +01:00
Disable NEON code on Native Client
The NEON assember in libwebp has not yet been ported
to Native Client. This changes disables it.
Related issue:
https://code.google.com/p/nativeclient/issues/detail?id=3205
(cherry picked from commit ac4f5784a0
)
Change-Id: I200291db7aa79d40c1f10cff7622c9b8599e6886
This commit is contained in:
parent
fcd94e925a
commit
a661e50bcb
@ -66,7 +66,10 @@ 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) || defined(__aarch64__)
|
// The intrinsics currently cause compiler errors with arm-nacl-gcc and the
|
||||||
|
// inline assembly would need to be modified for use with Native Client.
|
||||||
|
#if (defined(__ARM_NEON__) || defined(WEBP_ANDROID_NEON) || \
|
||||||
|
defined(__aarch64__)) && !defined(__native_client__)
|
||||||
#define WEBP_USE_NEON
|
#define WEBP_USE_NEON
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user