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"
|
#include "./dsp.h"
|
||||||
|
|
||||||
// Right now, some intrinsics functions seem slower, so we disable them
|
// Right now, some intrinsics functions seem slower, so we disable them
|
||||||
// everywhere except aarch64 where the inline assembly is incompatible.
|
// everywhere except newer gcc or aarch64 where the inline assembly is
|
||||||
#if defined(__aarch64__)
|
// incompatible.
|
||||||
|
#if LOCAL_GCC_PREREQ(4,9) || defined(__aarch64__)
|
||||||
#define WEBP_USE_INTRINSICS // use intrinsics when possible
|
#define WEBP_USE_INTRINSICS // use intrinsics when possible
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user