mirror of
https://github.com/webmproject/libwebp.git
synced 2025-04-21 08:16:46 +02:00
dec_wasm,armv7: set ENABLE_NEON_BUILTIN_ADDSUB_SAT
this path works with -march=armv7a -mfpu=neon with clang Change-Id: I0c04ab9a195c353aa2bfaf3ba2ca8a21e68ee5e1
This commit is contained in:
parent
c0eb3ff7d4
commit
cfaebe3e95
@ -333,9 +333,7 @@ static void Transform(const int16_t* in, uint8_t* dst, int do_two) {
|
|||||||
#define ENABLE_X86_BUILTIN_ADDSUB_SAT
|
#define ENABLE_X86_BUILTIN_ADDSUB_SAT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__aarch64__)
|
#if defined(__ARM_NEON__) || defined(__aarch64__)
|
||||||
// For now, this only works for aarch64
|
|
||||||
// TODO(slavarnway): Find a workaround for the ICE when using clang-3.9.1
|
|
||||||
#define ENABLE_NEON_BUILTIN_ADDSUB_SAT
|
#define ENABLE_NEON_BUILTIN_ADDSUB_SAT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user