aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorSiarhei Siamashka <siarhei.siamashka@gmail.com>2006-09-13 21:39:41 +0000
committerDiego Biurrun <diego@biurrun.de>2006-09-13 21:39:41 +0000
commit1839e854e578db14c96365c484f419f569a5954d (patch)
treea9179b9191a2f68d64142bc196302a21699ea0d2 /libavcodec
parenta8678a3a7a31c5b076cb3e20ef16b13120e19dd5 (diff)
downloadffmpeg-1839e854e578db14c96365c484f419f569a5954d.tar.gz
Proper armv5te instructions support detection.
patch by Siarhei Siamashka, siarhei dot siamashka gmail com Originally committed as revision 6246 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/mpegaudiodec.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c
index e9c78332bc..d49ce66b11 100644
--- a/libavcodec/mpegaudiodec.c
+++ b/libavcodec/mpegaudiodec.c
@@ -27,11 +27,6 @@
#include "bitstream.h"
#include "dsputil.h"
-/* Assume that all Intel XScale processors support armv5 edsp instructions */
-#if defined(ARCH_ARMV4L) && defined (HAVE_IWMMXT)
-#define ARCH_ARM5E
-#endif
-
/*
* TODO:
* - in low precision mode, use more 16 bit multiplies in synth filter
@@ -797,7 +792,7 @@ static inline int round_sample(int *sum)
# define MULS(ra, rb) \
({ int __rt; asm ("mullhw %0, %1, %2" : "=r" (__rt) : "r" (ra), "r" (rb)); __rt; })
-# elif defined(ARCH_ARM5E)
+# elif defined(HAVE_ARMV5TE)
/* signed 16x16 -> 32 multiply add accumulate */
# define MACS(rt, ra, rb) \