From b326755989b346d0d935e0628e8865f9b2951c30 Mon Sep 17 00:00:00 2001 From: Mans Rullgard Date: Tue, 4 Dec 2012 23:29:34 +0000 Subject: arm: rename ARMVFP config symbol to VFP This is consistent with usual ARM nomenclature as well as with the VFPV3 and NEON symbols which both lack the ARM prefix. Signed-off-by: Mans Rullgard --- Makefile | 2 +- arch.mak | 2 +- configure | 12 ++++++------ libavcodec/arm/Makefile | 4 ++-- libavutil/arm/Makefile | 4 ++-- libavutil/arm/asm.S | 2 +- libavutil/arm/cpu.c | 2 +- libavutil/arm/cpu.h | 2 +- 8 files changed, 15 insertions(+), 15 deletions(-) diff --git a/Makefile b/Makefile index 91acc4c0b3..c4dc80c1f3 100644 --- a/Makefile +++ b/Makefile @@ -106,7 +106,7 @@ config.h: .config SUBDIR_VARS := CLEANFILES EXAMPLES FFLIBS HOSTPROGS TESTPROGS TOOLS \ HEADERS ARCH_HEADERS BUILT_HEADERS SKIPHEADERS \ - ARMV5TE-OBJS ARMV6-OBJS ARMVFP-OBJS NEON-OBJS \ + ARMV5TE-OBJS ARMV6-OBJS VFP-OBJS NEON-OBJS \ ALTIVEC-OBJS VIS-OBJS \ MMX-OBJS YASM-OBJS \ OBJS HOSTOBJS TESTOBJS diff --git a/arch.mak b/arch.mak index 748783d3f9..09d24af49a 100644 --- a/arch.mak +++ b/arch.mak @@ -1,6 +1,6 @@ OBJS-$(HAVE_ARMV5TE) += $(ARMV5TE-OBJS) $(ARMV5TE-OBJS-yes) OBJS-$(HAVE_ARMV6) += $(ARMV6-OBJS) $(ARMV6-OBJS-yes) -OBJS-$(HAVE_ARMVFP) += $(ARMVFP-OBJS) $(ARMVFP-OBJS-yes) +OBJS-$(HAVE_VFP) += $(VFP-OBJS) $(VFP-OBJS-yes) OBJS-$(HAVE_NEON) += $(NEON-OBJS) $(NEON-OBJS-yes) OBJS-$(HAVE_ALTIVEC) += $(ALTIVEC-OBJS) $(ALTIVEC-OBJS-yes) diff --git a/configure b/configure index 31508182ab..62f3f0ba67 100755 --- a/configure +++ b/configure @@ -265,7 +265,7 @@ Optimization options (experts only): --disable-armv5te disable armv5te optimizations --disable-armv6 disable armv6 optimizations --disable-armv6t2 disable armv6t2 optimizations - --disable-armvfp disable ARM VFP optimizations + --disable-vfp disable VFP optimizations --disable-neon disable NEON optimizations --disable-vis disable VIS optimizations --disable-inline-asm disable use of inline assembler @@ -1106,8 +1106,8 @@ ARCH_EXT_LIST_ARM=' armv5te armv6 armv6t2 - armvfp neon + vfp vfpv3 ' @@ -1388,9 +1388,9 @@ CMDLINE_APPEND=" armv5te_deps="arm" armv6_deps="arm" armv6t2_deps="arm" -armvfp_deps="arm" neon_deps="arm" -vfpv3_deps="armvfp" +vfp_deps="arm" +vfpv3_deps="vfp" map 'eval ${v}_inline_deps=inline_asm' $ARCH_EXT_LIST_ARM @@ -3157,8 +3157,8 @@ EOF enabled armv5te && check_insn armv5te 'qadd r0, r0, r0' enabled armv6 && check_insn armv6 'sadd16 r0, r0, r0' enabled armv6t2 && check_insn armv6t2 'movt r0, #0' - enabled armvfp && check_insn armvfp 'fadds s0, s0, s0' enabled neon && check_insn neon 'vadd.i16 q0, q0, q0' + enabled vfp && check_insn vfp 'fadds s0, s0, s0' enabled vfpv3 && check_insn vfpv3 'vmov.f32 s0, #1.0' map 'enabled_any ${v}_external ${v}_inline || disable $v' $ARCH_EXT_LIST_ARM @@ -3726,7 +3726,7 @@ if enabled arm; then echo "ARMv5TE enabled ${armv5te-no}" echo "ARMv6 enabled ${armv6-no}" echo "ARMv6T2 enabled ${armv6t2-no}" - echo "ARM VFP enabled ${armvfp-no}" + echo "VFP enabled ${vfp-no}" echo "NEON enabled ${neon-no}" fi if enabled ppc; then diff --git a/libavcodec/arm/Makefile b/libavcodec/arm/Makefile index acfd626291..b315d8da0e 100644 --- a/libavcodec/arm/Makefile +++ b/libavcodec/arm/Makefile @@ -48,9 +48,9 @@ ARMV6-OBJS += arm/dsputil_init_armv6.o \ arm/dsputil_armv6.o \ arm/simple_idct_armv6.o \ -ARMVFP-OBJS-$(HAVE_ARMV6) += arm/fmtconvert_vfp.o +VFP-OBJS-$(HAVE_ARMV6) += arm/fmtconvert_vfp.o -ARMVFP-OBJS += arm/dsputil_vfp.o \ +VFP-OBJS += arm/dsputil_vfp.o \ arm/dsputil_init_vfp.o \ NEON-OBJS-$(CONFIG_FFT) += arm/fft_neon.o \ diff --git a/libavutil/arm/Makefile b/libavutil/arm/Makefile index ac7eca6751..5da44b0542 100644 --- a/libavutil/arm/Makefile +++ b/libavutil/arm/Makefile @@ -1,8 +1,8 @@ OBJS += arm/cpu.o \ arm/float_dsp_init_arm.o \ -ARMVFP-OBJS += arm/float_dsp_init_vfp.o \ - arm/float_dsp_vfp.o \ +VFP-OBJS += arm/float_dsp_init_vfp.o \ + arm/float_dsp_vfp.o \ NEON-OBJS += arm/float_dsp_init_neon.o \ arm/float_dsp_neon.o \ diff --git a/libavutil/arm/asm.S b/libavutil/arm/asm.S index 8ac28e263e..a1817892f0 100644 --- a/libavutil/arm/asm.S +++ b/libavutil/arm/asm.S @@ -46,7 +46,7 @@ #if HAVE_NEON .fpu neon -#elif HAVE_ARMVFP +#elif HAVE_VFP .fpu vfp #endif diff --git a/libavutil/arm/cpu.c b/libavutil/arm/cpu.c index 33dca1c65a..7058aeb1f1 100644 --- a/libavutil/arm/cpu.c +++ b/libavutil/arm/cpu.c @@ -24,7 +24,7 @@ int ff_get_cpu_flags_arm(void) return AV_CPU_FLAG_ARMV5TE * HAVE_ARMV5TE | AV_CPU_FLAG_ARMV6 * HAVE_ARMV6 | AV_CPU_FLAG_ARMV6T2 * HAVE_ARMV6T2 | - AV_CPU_FLAG_VFP * HAVE_ARMVFP | + AV_CPU_FLAG_VFP * HAVE_VFP | AV_CPU_FLAG_VFPV3 * HAVE_VFPV3 | AV_CPU_FLAG_NEON * HAVE_NEON; } diff --git a/libavutil/arm/cpu.h b/libavutil/arm/cpu.h index 72e16d409f..91c959ab27 100644 --- a/libavutil/arm/cpu.h +++ b/libavutil/arm/cpu.h @@ -25,7 +25,7 @@ #define have_armv5te(flags) (HAVE_ARMV5TE && ((flags) & AV_CPU_FLAG_ARMV5TE)) #define have_armv6(flags) (HAVE_ARMV6 && ((flags) & AV_CPU_FLAG_ARMV6)) #define have_armv6t2(flags) (HAVE_ARMV6T2 && ((flags) & AV_CPU_FLAG_ARMV6T2)) -#define have_vfp(flags) (HAVE_ARMVFP && ((flags) & AV_CPU_FLAG_VFP)) +#define have_vfp(flags) (HAVE_VFP && ((flags) & AV_CPU_FLAG_VFP)) #define have_vfpv3(flags) (HAVE_VFPV3 && ((flags) & AV_CPU_FLAG_VFPV3)) #define have_neon(flags) (HAVE_NEON && ((flags) & AV_CPU_FLAG_NEON)) -- cgit v1.2.3