changeset 3716:e583349b9720 libavcodec

Proper armv5te instructions support detection. patch by Siarhei Siamashka, siarhei dot siamashka gmail com
author diego
date Wed, 13 Sep 2006 21:39:41 +0000
parents cdaee53c5da1
children ea9fe1c9d126
files mpegaudiodec.c
diffstat 1 files changed, 1 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/mpegaudiodec.c	Wed Sep 13 20:16:33 2006 +0000
+++ b/mpegaudiodec.c	Wed Sep 13 21:39:41 2006 +0000
@@ -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 @@
 #       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) \