From 1839e854e578db14c96365c484f419f569a5954d Mon Sep 17 00:00:00 2001 From: Siarhei Siamashka Date: Wed, 13 Sep 2006 21:39:41 +0000 Subject: 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 --- libavcodec/mpegaudiodec.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'libavcodec/mpegaudiodec.c') 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) \ -- cgit v1.2.3