dsp/neon.h: coalesce intrinsics-related defines

Change-Id: Ifadd41a5bbf7f99eeb6d75d2b67daa25e0544946
This commit is contained in:
James Zern
2014-05-03 11:34:07 -07:00
parent b5c7525897
commit b9d2bb67d6
4 changed files with 16 additions and 26 deletions

View File

@ -14,6 +14,17 @@
#include <arm_neon.h>
#include "./dsp.h"
// #define USE_INTRINSICS // use intrinsics when possible
// if using intrinsics, this flag avoids some functions that make gcc-4.6.3
// crash ("internal compiler error: in immed_double_const, at emit-rtl.").
// (probably similar to gcc.gnu.org/bugzilla/show_bug.cgi?id=48183)
#if !LOCAL_GCC_PREREQ(4,8)
#define WORK_AROUND_GCC
#endif
static WEBP_INLINE int32x4x4_t Transpose4x4(const int32x4x4_t rows) {
uint64x2x2_t row01, row23;