mirror of
https://github.com/webmproject/libwebp.git
synced 2024-11-20 04:18:26 +01:00
define WEBP_USE_INTRINSICS w/gcc-4.9+
32-bit builds are neutral to slightly faster using ndk r15c on a N5/S6/CM1 BUG=webp:339 Change-Id: I94b9442e0ceaf2f5edb2b4026bc8b99cd77c918b
This commit is contained in:
parent
8635973dc3
commit
01c426f1e7
@ -17,8 +17,9 @@
|
||||
#include "./dsp.h"
|
||||
|
||||
// Right now, some intrinsics functions seem slower, so we disable them
|
||||
// everywhere except aarch64 where the inline assembly is incompatible.
|
||||
#if defined(__aarch64__)
|
||||
// everywhere except newer gcc or aarch64 where the inline assembly is
|
||||
// incompatible.
|
||||
#if LOCAL_GCC_PREREQ(4,9) || defined(__aarch64__)
|
||||
#define WEBP_USE_INTRINSICS // use intrinsics when possible
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user