summaryrefslogtreecommitdiff
path: root/libavutil/arm
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-12-04 23:29:34 +0000
committerMans Rullgard <mans@mansr.com>2012-12-07 16:54:04 +0000
commitb326755989b346d0d935e0628e8865f9b2951c30 (patch)
treef7aad9cb9b6d9514edbec31246551463fcbb47db /libavutil/arm
parent637606de2d2e0af0a9fa2f23f943765d7d7c5cd5 (diff)
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 <mans@mansr.com>
Diffstat (limited to 'libavutil/arm')
-rw-r--r--libavutil/arm/Makefile4
-rw-r--r--libavutil/arm/asm.S2
-rw-r--r--libavutil/arm/cpu.c2
-rw-r--r--libavutil/arm/cpu.h2
4 files changed, 5 insertions, 5 deletions
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))