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:
James Zern 2017-07-17 15:40:21 -07:00
parent c0eb3ff7d4
commit cfaebe3e95

View File

@ -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