summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2008-12-17 00:54:54 +0000
committerMåns Rullgård <mans@mansr.com>2008-12-17 00:54:54 +0000
commita2fc0f6a6ddf884ace3c96a0d4f09f0932e6db32 (patch)
tree44b807b924e29465a6aed924fcb53c719a83a956
parent2600f8c86dcaa411a0485b1518e5e1592374aaf6 (diff)
ARM: replace "armv4l" with "arm"
Originally committed as revision 16179 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-xconfigure21
-rw-r--r--libavcodec/Makefile38
-rw-r--r--libavcodec/arm/asm.S (renamed from libavcodec/armv4l/asm.S)0
-rw-r--r--libavcodec/arm/dsputil_arm.c (renamed from libavcodec/armv4l/dsputil_arm.c)4
-rw-r--r--libavcodec/arm/dsputil_arm_s.S (renamed from libavcodec/armv4l/dsputil_arm_s.S)2
-rw-r--r--libavcodec/arm/dsputil_iwmmxt.c (renamed from libavcodec/armv4l/dsputil_iwmmxt.c)0
-rw-r--r--libavcodec/arm/dsputil_iwmmxt_rnd_template.c (renamed from libavcodec/armv4l/dsputil_iwmmxt_rnd_template.c)0
-rw-r--r--libavcodec/arm/dsputil_neon.c (renamed from libavcodec/armv4l/dsputil_neon.c)0
-rw-r--r--libavcodec/arm/dsputil_neon_s.S (renamed from libavcodec/armv4l/dsputil_neon_s.S)0
-rw-r--r--libavcodec/arm/dsputil_vfp.S (renamed from libavcodec/armv4l/dsputil_vfp.S)0
-rw-r--r--libavcodec/arm/float_arm_vfp.c (renamed from libavcodec/armv4l/float_arm_vfp.c)0
-rw-r--r--libavcodec/arm/h264dsp_neon.S (renamed from libavcodec/armv4l/h264dsp_neon.S)0
-rw-r--r--libavcodec/arm/h264idct_neon.S (renamed from libavcodec/armv4l/h264idct_neon.S)0
-rw-r--r--libavcodec/arm/jrevdct_arm.S (renamed from libavcodec/armv4l/jrevdct_arm.S)0
-rw-r--r--libavcodec/arm/mathops.h (renamed from libavcodec/armv4l/mathops.h)6
-rw-r--r--libavcodec/arm/mpegvideo_arm.c (renamed from libavcodec/armv4l/mpegvideo_arm.c)2
-rw-r--r--libavcodec/arm/mpegvideo_armv5te.c (renamed from libavcodec/armv4l/mpegvideo_armv5te.c)0
-rw-r--r--libavcodec/arm/mpegvideo_armv5te_s.S (renamed from libavcodec/armv4l/mpegvideo_armv5te_s.S)0
-rw-r--r--libavcodec/arm/mpegvideo_iwmmxt.c (renamed from libavcodec/armv4l/mpegvideo_iwmmxt.c)0
-rw-r--r--libavcodec/arm/simple_idct_arm.S (renamed from libavcodec/armv4l/simple_idct_arm.S)0
-rw-r--r--libavcodec/arm/simple_idct_armv5te.S (renamed from libavcodec/armv4l/simple_idct_armv5te.S)0
-rw-r--r--libavcodec/arm/simple_idct_armv6.S (renamed from libavcodec/armv4l/simple_idct_armv6.S)0
-rw-r--r--libavcodec/arm/simple_idct_neon.S (renamed from libavcodec/armv4l/simple_idct_neon.S)0
-rw-r--r--libavcodec/bitstream.h4
-rw-r--r--libavcodec/dct-test.c4
-rw-r--r--libavcodec/dsputil.c2
-rw-r--r--libavcodec/dsputil.h4
-rw-r--r--libavcodec/mathops.h4
-rw-r--r--libavcodec/mpegvideo.c4
-rw-r--r--libavcodec/mpegvideo.h2
-rw-r--r--libavutil/bswap.h2
-rw-r--r--libavutil/internal.h2
32 files changed, 50 insertions, 51 deletions
diff --git a/configure b/configure
index 3f2188167e..9f1f0f6882 100755
--- a/configure
+++ b/configure
@@ -789,7 +789,7 @@ THREADS_LIST='
ARCH_LIST='
alpha
- armv4l
+ arm
bfin
ia64
m68k
@@ -933,14 +933,14 @@ CMDLINE_SET="
# architecture extensions
altivec_deps="powerpc"
-armv5te_deps="armv4l"
-armv6_deps="armv4l"
-armvfp_deps="armv4l"
-iwmmxt_deps="armv4l"
+armv5te_deps="arm"
+armv6_deps="arm"
+armvfp_deps="arm"
+iwmmxt_deps="arm"
mmi_deps="mips"
mmx_deps="x86"
mmx2_deps="x86 mmx"
-neon_deps="armv4l"
+neon_deps="arm"
ssse3_deps="x86"
vis_deps="sparc"
@@ -1309,9 +1309,8 @@ case "$arch" in
int test[sizeof(char*) - 7];
EOF
;;
- # armv4l is a subset of armv[567]*l
arm|armv[4567]*l)
- arch="armv4l"
+ arch="arm"
;;
alpha)
arch="alpha"
@@ -1785,7 +1784,7 @@ EOF
fi
# We have to check if pld is a nop and disable it.
-enabled armv4l && check_asm pld '"pld [r0]"'
+enabled arm && check_asm pld '"pld [r0]"'
enabled armv5te && check_asm armv5te '"qadd r0, r0, r0"'
enabled armv6 && check_asm armv6 '"sadd16 r0, r0, r0"'
enabled armvfp && check_asm armvfp '"fadds s0, s0, s0"'
@@ -2136,7 +2135,7 @@ if test $arch = "x86_32" -o $arch = "x86_64"; then
echo "EBX available ${ebx_available-no}"
echo "EBP available ${ebp_available-no}"
fi
-if test $arch = "armv4l"; then
+if test $arch = "arm"; then
echo "ARMv5TE enabled ${armv5te-no}"
echo "ARMv6 enabled ${armv6-no}"
echo "ARM VFP enabled ${armvfp-no}"
@@ -2358,7 +2357,7 @@ if enabled source_path_used; then
doc \
libavcodec \
libavcodec/alpha \
- libavcodec/armv4l \
+ libavcodec/arm \
libavcodec/bfin \
libavcodec/i386 \
libavcodec/mlib \
diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index 20ed99143e..a78dfa2b03 100644
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -429,29 +429,29 @@ OBJS-$(ARCH_ALPHA) += alpha/dsputil_alpha.o \
alpha/mpegvideo_alpha.o \
alpha/simple_idct_alpha.o \
-OBJS-$(ARCH_ARMV4L) += armv4l/dsputil_arm.o \
- armv4l/dsputil_arm_s.o \
- armv4l/jrevdct_arm.o \
- armv4l/mpegvideo_arm.o \
- armv4l/simple_idct_arm.o \
+OBJS-$(ARCH_ARM) += arm/dsputil_arm.o \
+ arm/dsputil_arm_s.o \
+ arm/jrevdct_arm.o \
+ arm/mpegvideo_arm.o \
+ arm/simple_idct_arm.o \
-OBJS-$(HAVE_ARMV5TE) += armv4l/mpegvideo_armv5te.o \
- armv4l/mpegvideo_armv5te_s.o \
- armv4l/simple_idct_armv5te.o \
+OBJS-$(HAVE_ARMV5TE) += arm/mpegvideo_armv5te.o \
+ arm/mpegvideo_armv5te_s.o \
+ arm/simple_idct_armv5te.o \
-OBJS-$(HAVE_ARMV6) += armv4l/simple_idct_armv6.o \
+OBJS-$(HAVE_ARMV6) += arm/simple_idct_armv6.o \
-OBJS-$(HAVE_ARMVFP) += armv4l/dsputil_vfp.o \
- armv4l/float_arm_vfp.o \
+OBJS-$(HAVE_ARMVFP) += arm/dsputil_vfp.o \
+ arm/float_arm_vfp.o \
-OBJS-$(HAVE_IWMMXT) += armv4l/dsputil_iwmmxt.o \
- armv4l/mpegvideo_iwmmxt.o \
+OBJS-$(HAVE_IWMMXT) += arm/dsputil_iwmmxt.o \
+ arm/mpegvideo_iwmmxt.o \
-OBJS-$(HAVE_NEON) += armv4l/dsputil_neon.o \
- armv4l/dsputil_neon_s.o \
- armv4l/h264dsp_neon.o \
- armv4l/h264idct_neon.o \
- armv4l/simple_idct_neon.o \
+OBJS-$(HAVE_NEON) += arm/dsputil_neon.o \
+ arm/dsputil_neon_s.o \
+ arm/h264dsp_neon.o \
+ arm/h264idct_neon.o \
+ arm/simple_idct_neon.o \
OBJS-$(ARCH_BFIN) += bfin/dsputil_bfin.o \
bfin/fdct_bfin.o \
@@ -499,7 +499,7 @@ TESTS-$(CONFIG_OLDSCALER) += imgresample-test$(EXESUF)
TESTS-$(ARCH_X86) += i386/cpuid-test$(EXESUF) motion-test$(EXESUF)
CLEANFILES = apiexample$(EXESUF)
-DIRS = alpha armv4l bfin i386 mlib ppc ps2 sh4 sparc
+DIRS = alpha arm bfin i386 mlib ppc ps2 sh4 sparc
include $(SUBDIR)../subdir.mak
diff --git a/libavcodec/armv4l/asm.S b/libavcodec/arm/asm.S
index e2595f4789..e2595f4789 100644
--- a/libavcodec/armv4l/asm.S
+++ b/libavcodec/arm/asm.S
diff --git a/libavcodec/armv4l/dsputil_arm.c b/libavcodec/arm/dsputil_arm.c
index 7f6616ddf8..eaa6b9eb8d 100644
--- a/libavcodec/armv4l/dsputil_arm.c
+++ b/libavcodec/arm/dsputil_arm.c
@@ -1,5 +1,5 @@
/*
- * ARMv4L optimized DSP utils
+ * ARM optimized DSP utils
* Copyright (c) 2001 Lionel Ulmer.
*
* This file is part of FFmpeg.
@@ -121,7 +121,7 @@ int mm_support(void)
return ENABLE_IWMMXT * FF_MM_IWMMXT;
}
-void dsputil_init_armv4l(DSPContext* c, AVCodecContext *avctx)
+void dsputil_init_arm(DSPContext* c, AVCodecContext *avctx)
{
int idct_algo= avctx->idct_algo;
diff --git a/libavcodec/armv4l/dsputil_arm_s.S b/libavcodec/arm/dsputil_arm_s.S
index ba06f3740f..639b7b8af8 100644
--- a/libavcodec/armv4l/dsputil_arm_s.S
+++ b/libavcodec/arm/dsputil_arm_s.S
@@ -1,5 +1,5 @@
@
-@ ARMv4L optimized DSP utils
+@ ARMv4 optimized DSP utils
@ Copyright (c) 2004 AGAWA Koji <i (AT) atty (DOT) jp>
@
@ This file is part of FFmpeg.
diff --git a/libavcodec/armv4l/dsputil_iwmmxt.c b/libavcodec/arm/dsputil_iwmmxt.c
index 3d6260b056..3d6260b056 100644
--- a/libavcodec/armv4l/dsputil_iwmmxt.c
+++ b/libavcodec/arm/dsputil_iwmmxt.c
diff --git a/libavcodec/armv4l/dsputil_iwmmxt_rnd_template.c b/libavcodec/arm/dsputil_iwmmxt_rnd_template.c
index 35a5a9b8b4..35a5a9b8b4 100644
--- a/libavcodec/armv4l/dsputil_iwmmxt_rnd_template.c
+++ b/libavcodec/arm/dsputil_iwmmxt_rnd_template.c
diff --git a/libavcodec/armv4l/dsputil_neon.c b/libavcodec/arm/dsputil_neon.c
index 5204c50e37..5204c50e37 100644
--- a/libavcodec/armv4l/dsputil_neon.c
+++ b/libavcodec/arm/dsputil_neon.c
diff --git a/libavcodec/armv4l/dsputil_neon_s.S b/libavcodec/arm/dsputil_neon_s.S
index 1241cdc9ef..1241cdc9ef 100644
--- a/libavcodec/armv4l/dsputil_neon_s.S
+++ b/libavcodec/arm/dsputil_neon_s.S
diff --git a/libavcodec/armv4l/dsputil_vfp.S b/libavcodec/arm/dsputil_vfp.S
index 04c8014e1e..04c8014e1e 100644
--- a/libavcodec/armv4l/dsputil_vfp.S
+++ b/libavcodec/arm/dsputil_vfp.S
diff --git a/libavcodec/armv4l/float_arm_vfp.c b/libavcodec/arm/float_arm_vfp.c
index 5598aa9c02..5598aa9c02 100644
--- a/libavcodec/armv4l/float_arm_vfp.c
+++ b/libavcodec/arm/float_arm_vfp.c
diff --git a/libavcodec/armv4l/h264dsp_neon.S b/libavcodec/arm/h264dsp_neon.S
index 39a8daf62e..39a8daf62e 100644
--- a/libavcodec/armv4l/h264dsp_neon.S
+++ b/libavcodec/arm/h264dsp_neon.S
diff --git a/libavcodec/armv4l/h264idct_neon.S b/libavcodec/arm/h264idct_neon.S
index b7ef2f4519..b7ef2f4519 100644
--- a/libavcodec/armv4l/h264idct_neon.S
+++ b/libavcodec/arm/h264idct_neon.S
diff --git a/libavcodec/armv4l/jrevdct_arm.S b/libavcodec/arm/jrevdct_arm.S
index b77315b0f5..b77315b0f5 100644
--- a/libavcodec/armv4l/jrevdct_arm.S
+++ b/libavcodec/arm/jrevdct_arm.S
diff --git a/libavcodec/armv4l/mathops.h b/libavcodec/arm/mathops.h
index f8a3d6db40..e36316c76b 100644
--- a/libavcodec/armv4l/mathops.h
+++ b/libavcodec/arm/mathops.h
@@ -19,8 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_ARMV4L_MATHOPS_H
-#define AVCODEC_ARMV4L_MATHOPS_H
+#ifndef AVCODEC_ARM_MATHOPS_H
+#define AVCODEC_ARM_MATHOPS_H
#include <stdint.h>
#include "libavutil/common.h"
@@ -90,4 +90,4 @@ static inline av_const MUL16(int ra, int rb)
#endif
-#endif /* AVCODEC_ARMV4L_MATHOPS_H */
+#endif /* AVCODEC_ARM_MATHOPS_H */
diff --git a/libavcodec/armv4l/mpegvideo_arm.c b/libavcodec/arm/mpegvideo_arm.c
index 657fc03d5a..18faed2d36 100644
--- a/libavcodec/armv4l/mpegvideo_arm.c
+++ b/libavcodec/arm/mpegvideo_arm.c
@@ -25,7 +25,7 @@
void MPV_common_init_iwmmxt(MpegEncContext *s);
void MPV_common_init_armv5te(MpegEncContext *s);
-void MPV_common_init_armv4l(MpegEncContext *s)
+void MPV_common_init_arm(MpegEncContext *s)
{
/* IWMMXT support is a superset of armv5te, so
* allow optimized functions for armv5te unless
diff --git a/libavcodec/armv4l/mpegvideo_armv5te.c b/libavcodec/arm/mpegvideo_armv5te.c
index b213cf1de3..b213cf1de3 100644
--- a/libavcodec/armv4l/mpegvideo_armv5te.c
+++ b/libavcodec/arm/mpegvideo_armv5te.c
diff --git a/libavcodec/armv4l/mpegvideo_armv5te_s.S b/libavcodec/arm/mpegvideo_armv5te_s.S
index aaa252d3b7..aaa252d3b7 100644
--- a/libavcodec/armv4l/mpegvideo_armv5te_s.S
+++ b/libavcodec/arm/mpegvideo_armv5te_s.S
diff --git a/libavcodec/armv4l/mpegvideo_iwmmxt.c b/libavcodec/arm/mpegvideo_iwmmxt.c
index e816ac67c5..e816ac67c5 100644
--- a/libavcodec/armv4l/mpegvideo_iwmmxt.c
+++ b/libavcodec/arm/mpegvideo_iwmmxt.c
diff --git a/libavcodec/armv4l/simple_idct_arm.S b/libavcodec/arm/simple_idct_arm.S
index 16ade1f3da..16ade1f3da 100644
--- a/libavcodec/armv4l/simple_idct_arm.S
+++ b/libavcodec/arm/simple_idct_arm.S
diff --git a/libavcodec/armv4l/simple_idct_armv5te.S b/libavcodec/arm/simple_idct_armv5te.S
index 58040ec1ba..58040ec1ba 100644
--- a/libavcodec/armv4l/simple_idct_armv5te.S
+++ b/libavcodec/arm/simple_idct_armv5te.S
diff --git a/libavcodec/armv4l/simple_idct_armv6.S b/libavcodec/arm/simple_idct_armv6.S
index 4f3330d223..4f3330d223 100644
--- a/libavcodec/armv4l/simple_idct_armv6.S
+++ b/libavcodec/arm/simple_idct_armv6.S
diff --git a/libavcodec/armv4l/simple_idct_neon.S b/libavcodec/arm/simple_idct_neon.S
index 376db0b534..376db0b534 100644
--- a/libavcodec/armv4l/simple_idct_neon.S
+++ b/libavcodec/arm/simple_idct_neon.S
diff --git a/libavcodec/bitstream.h b/libavcodec/bitstream.h
index 5a5db5c9f2..3e8f25ecd2 100644
--- a/libavcodec/bitstream.h
+++ b/libavcodec/bitstream.h
@@ -41,7 +41,7 @@
//#define ALT_BITSTREAM_WRITER
//#define ALIGNED_BITSTREAM_WRITER
#if !defined(LIBMPEG2_BITSTREAM_READER) && !defined(A32_BITSTREAM_READER) && !defined(ALT_BITSTREAM_READER)
-# ifdef ARCH_ARMV4L
+# ifdef ARCH_ARM
# define A32_BITSTREAM_READER
# else
# define ALT_BITSTREAM_READER
@@ -179,7 +179,7 @@ typedef struct RL_VLC_ELEM {
uint8_t run;
} RL_VLC_ELEM;
-#if defined(ARCH_SPARC) || defined(ARCH_ARMV4L) || defined(ARCH_MIPS) || defined(ARCH_BFIN)
+#if defined(ARCH_SPARC) || defined(ARCH_ARM) || defined(ARCH_MIPS) || defined(ARCH_BFIN)
#define UNALIGNED_STORES_ARE_BAD
#endif
diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c
index a86109bdc0..53b4f3de14 100644
--- a/libavcodec/dct-test.c
+++ b/libavcodec/dct-test.c
@@ -123,7 +123,7 @@ struct algo algos[] = {
{"BFINidct", 1, ff_bfin_idct, idct, NO_PERM},
#endif
-#ifdef ARCH_ARMV4L
+#ifdef ARCH_ARM
{"SIMPLE-ARM", 1, simple_idct_ARM, idct, NO_PERM },
{"INT-ARM", 1, j_rev_dct_ARM, idct, MMX_PERM },
#ifdef HAVE_ARMV5TE
@@ -135,7 +135,7 @@ struct algo algos[] = {
#ifdef HAVE_NEON
{"SIMPLE-NEON", 1, ff_simple_idct_neon, idct, PARTTRANS_PERM },
#endif
-#endif /* ARCH_ARMV4L */
+#endif /* ARCH_ARM */
{ 0 }
};
diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c
index a97fb1e2cd..386d54a4d5 100644
--- a/libavcodec/dsputil.c
+++ b/libavcodec/dsputil.c
@@ -4554,7 +4554,7 @@ void dsputil_init(DSPContext* c, AVCodecContext *avctx)
memset(c->avg_2tap_qpel_pixels_tab, 0, sizeof(c->avg_2tap_qpel_pixels_tab));
if (ENABLE_MMX) dsputil_init_mmx (c, avctx);
- if (ENABLE_ARMV4L) dsputil_init_armv4l(c, avctx);
+ if (ENABLE_ARM) dsputil_init_arm (c, avctx);
if (ENABLE_MLIB) dsputil_init_mlib (c, avctx);
if (ENABLE_VIS) dsputil_init_vis (c, avctx);
if (ENABLE_ALPHA) dsputil_init_alpha (c, avctx);
diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h
index 1864cc70d6..c94e443c30 100644
--- a/libavcodec/dsputil.h
+++ b/libavcodec/dsputil.h
@@ -558,7 +558,7 @@ static inline int get_penalty_factor(int lambda, int lambda2, int type){
int mm_support(void);
void dsputil_init_alpha(DSPContext* c, AVCodecContext *avctx);
-void dsputil_init_armv4l(DSPContext* c, AVCodecContext *avctx);
+void dsputil_init_arm(DSPContext* c, AVCodecContext *avctx);
void dsputil_init_bfin(DSPContext* c, AVCodecContext *avctx);
void dsputil_init_mlib(DSPContext* c, AVCodecContext *avctx);
void dsputil_init_mmi(DSPContext* c, AVCodecContext *avctx);
@@ -593,7 +593,7 @@ static inline void emms(void)
void dsputil_init_pix_mmx(DSPContext* c, AVCodecContext *avctx);
-#elif defined(ARCH_ARMV4L)
+#elif defined(ARCH_ARM)
extern int mm_flags;
diff --git a/libavcodec/mathops.h b/libavcodec/mathops.h
index 817e4525c7..486eed7822 100644
--- a/libavcodec/mathops.h
+++ b/libavcodec/mathops.h
@@ -28,9 +28,9 @@
#include "i386/mathops.h"
-#elif defined(ARCH_ARMV4L)
+#elif defined(ARCH_ARM)
-#include "armv4l/mathops.h"
+#include "arm/mathops.h"
#elif defined(ARCH_POWERPC)
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index c603f66360..6560d6b5a1 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -129,8 +129,8 @@ int ff_dct_common_init(MpegEncContext *s)
MPV_common_init_mlib(s);
#elif defined(HAVE_MMI)
MPV_common_init_mmi(s);
-#elif defined(ARCH_ARMV4L)
- MPV_common_init_armv4l(s);
+#elif defined(ARCH_ARM)
+ MPV_common_init_arm(s);
#elif defined(HAVE_ALTIVEC)
MPV_common_init_altivec(s);
#elif defined(ARCH_BFIN)
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h
index c57a76164c..da08bb6ea4 100644
--- a/libavcodec/mpegvideo.h
+++ b/libavcodec/mpegvideo.h
@@ -684,7 +684,7 @@ void MPV_common_init_mmx(MpegEncContext *s);
void MPV_common_init_axp(MpegEncContext *s);
void MPV_common_init_mlib(MpegEncContext *s);
void MPV_common_init_mmi(MpegEncContext *s);
-void MPV_common_init_armv4l(MpegEncContext *s);
+void MPV_common_init_arm(MpegEncContext *s);
void MPV_common_init_altivec(MpegEncContext *s);
void ff_clean_intra_table_entries(MpegEncContext *s);
void ff_draw_horiz_band(MpegEncContext *s, int y, int h);
diff --git a/libavutil/bswap.h b/libavutil/bswap.h
index c14676e6ab..100ed1c262 100644
--- a/libavutil/bswap.h
+++ b/libavutil/bswap.h
@@ -30,7 +30,7 @@
#include "config.h"
#include "common.h"
-#if defined(ARCH_ARMV4L)
+#if defined(ARCH_ARM)
# include "arm/bswap.h"
#elif defined(ARCH_BFIN)
# include "bfin/bswap.h"
diff --git a/libavutil/internal.h b/libavutil/internal.h
index 5ade1affa7..5615c06c5f 100644
--- a/libavutil/internal.h
+++ b/libavutil/internal.h
@@ -148,7 +148,7 @@ static inline av_const int FASTDIV(int a, int b)
: "=&r"(r), "=&r"(t) : "r"(a), "r"(b), "r"(ff_inverse));
return r;
}
-#elif defined(ARCH_ARMV4L)
+#elif defined(ARCH_ARM)
# define FASTDIV(a,b) \
({\
int ret,dmy;\